Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.4 MB / 304.3 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 172.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6317 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000865/0.0008646, allocations: 108.5 kB / 0.7451 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004346, allocations: 11.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2664, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.511/5.777, allocations: 2.074 GB / 3.054 GB, free: 242.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/5.778, allocations: 101 kB / 3.054 GB, free: 242.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1321/5.91, allocations: 65.58 MB / 3.118 GB, free: 176.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.957e-06/5.91, allocations: 0 / 3.118 GB, free: 176.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.278e-05/5.91, allocations: 27.94 kB / 3.118 GB, free: 176.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002208/5.912, allocations: 1.215 MB / 3.12 GB, free: 175.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/5.912, allocations: 8.031 kB / 3.12 GB, free: 175.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008945/5.913, allocations: 187.4 kB / 3.12 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/5.914, allocations: 0.6674 MB / 3.12 GB, free: 174.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/5.914, allocations: 58.38 kB / 3.12 GB, free: 174.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/5.914, allocations: 76.31 kB / 3.121 GB, free: 174.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/5.916, allocations: 0.8721 MB / 3.121 GB, free: 173.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/5.916, allocations: 192 / 3.121 GB, free: 173.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/5.916, allocations: 39.94 kB / 3.121 GB, free: 173.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/5.916, allocations: 23.98 kB / 3.121 GB, free: 173.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/5.917, allocations: 1.081 MB / 3.123 GB, free: 172.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/5.92, allocations: 2.472 MB / 3.125 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/5.922, allocations: 0.7611 MB / 3.126 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/5.922, allocations: 294.7 kB / 3.126 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/5.922, allocations: 113.8 kB / 3.126 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006468/5.923, allocations: 443.3 kB / 3.127 GB, free: 168.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.046e-06/5.923, allocations: 0 / 3.127 GB, free: 168.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002796/5.926, allocations: 1.158 MB / 3.128 GB, free: 166.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/5.926, allocations: 244 kB / 3.128 GB, free: 166.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007682/5.927, allocations: 0.6918 MB / 3.129 GB, free: 165.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/5.927, allocations: 37.7 kB / 3.129 GB, free: 165.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/5.927, allocations: 396.4 kB / 3.129 GB, free: 165.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/5.927, allocations: 244.4 kB / 3.129 GB, free: 165.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/5.927, allocations: 8 kB / 3.129 GB, free: 165.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/5.927, allocations: 390.8 kB / 3.13 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/5.928, allocations: 229.2 kB / 3.13 GB, free: 164.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/5.928, allocations: 351.6 kB / 3.13 GB, free: 164.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/5.929, allocations: 0.5542 MB / 3.131 GB, free: 163.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/5.929, allocations: 0 / 3.131 GB, free: 163.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001546/5.93, allocations: 0.7626 MB / 3.131 GB, free: 162.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/5.931, allocations: 8 kB / 3.131 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/5.931, allocations: 3.938 kB / 3.131 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/5.931, allocations: 80.84 kB / 3.131 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/5.932, allocations: 139.8 kB / 3.132 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/5.933, allocations: 1.54 MB / 3.133 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/5.934, allocations: 79.52 kB / 3.133 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/5.934, allocations: 23.98 kB / 3.133 GB, free: 160.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005028/5.935, allocations: 272.1 kB / 3.133 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/5.935, allocations: 78.97 kB / 3.134 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/5.937, allocations: 1.018 MB / 3.135 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/5.937, allocations: 11.98 kB / 3.135 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/5.937, allocations: 0 / 3.135 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/5.937, allocations: 7.922 kB / 3.135 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009015/5.938, allocations: 0.907 MB / 3.135 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/5.938, allocations: 0 / 3.135 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/5.938, allocations: 147.8 kB / 3.136 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/5.939, allocations: 84.77 kB / 3.136 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/5.939, allocations: 23.98 kB / 3.136 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/5.94, allocations: 1.555 MB / 3.137 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/5.94, allocations: 4 kB / 3.137 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/5.942, allocations: 0.8888 MB / 3.138 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/5.942, allocations: 287.7 kB / 3.138 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/5.942, allocations: 16 kB / 3.138 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/5.943, allocations: 71.94 kB / 3.138 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/5.943, allocations: 60.86 kB / 3.139 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/5.943, allocations: 31.97 kB / 3.139 GB, free: 155.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006355/5.944, allocations: 0.4951 MB / 3.139 GB, free: 154.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/5.944, allocations: 4 kB / 3.139 GB, free: 154.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001155/5.945, allocations: 339.3 kB / 3.139 GB, free: 154.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/5.947, allocations: 1.055 MB / 3.14 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001537/5.948, allocations: 0.7594 MB / 3.141 GB, free: 152.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/5.948, allocations: 0 / 3.141 GB, free: 152.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007627/5.949, allocations: 0.4965 MB / 3.142 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/5.95, allocations: 271.2 kB / 3.142 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/5.954, allocations: 2.193 MB / 3.144 GB, free: 149.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/5.955, allocations: 1.011 MB / 3.145 GB, free: 148.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008631/5.956, allocations: 258 kB / 3.145 GB, free: 148.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/5.956, allocations: 91.39 kB / 3.145 GB, free: 148.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/5.956, allocations: 4 kB / 3.145 GB, free: 148.2 MB / 0.948 GB Notification: Performance of Templates: time 0.029/5.985, allocations: 21.03 MB / 3.166 GB, free: 127.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)