Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.001392/0.001392, allocations: 184.8 kB / 366.7 MB, free: 1.699 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.986/1.986, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009229/0.0009232, allocations: 81.27 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.162e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7934, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.141/5.935, allocations: 2.074 GB / 3.047 GB, free: 56.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/5.935, allocations: 88.64 kB / 3.047 GB, free: 56.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6454/6.581, allocations: 63.45 MB / 3.109 GB, free: 317.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.385e-06/6.581, allocations: 0.8438 kB / 3.109 GB, free: 317.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.338e-05/6.581, allocations: 19.59 kB / 3.109 GB, free: 317.2 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.001991/6.583, allocations: 1.091 MB / 3.11 GB, free: 316.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/6.583, allocations: 8.781 kB / 3.11 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/6.584, allocations: 198.3 kB / 3.11 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/6.585, allocations: 0.6254 MB / 3.111 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/6.585, allocations: 29.45 kB / 3.111 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/6.585, allocations: 47.97 kB / 3.111 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001679/6.587, allocations: 0.9815 MB / 3.112 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/6.588, allocations: 0.7207 MB / 3.113 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/6.588, allocations: 3.125 kB / 3.113 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/6.588, allocations: 0.9688 kB / 3.113 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/6.588, allocations: 19.78 kB / 3.113 GB, free: 316.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004148/6.592, allocations: 2.312 MB / 3.115 GB, free: 315.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/6.593, allocations: 0.6683 MB / 3.116 GB, free: 315.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/6.594, allocations: 248.1 kB / 3.116 GB, free: 315.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/6.594, allocations: 113.8 kB / 3.116 GB, free: 315.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006735/6.595, allocations: 399.4 kB / 3.116 GB, free: 315.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/6.595, allocations: 0 / 3.116 GB, free: 315.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001876/6.597, allocations: 0.6735 MB / 3.117 GB, free: 315.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/6.597, allocations: 241.7 kB / 3.117 GB, free: 314.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008469/6.598, allocations: 0.5359 MB / 3.118 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/6.598, allocations: 30.95 kB / 3.118 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/6.598, allocations: 399.3 kB / 3.118 GB, free: 314.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/6.598, allocations: 233.7 kB / 3.118 GB, free: 314.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/6.598, allocations: 3.5 kB / 3.118 GB, free: 314.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001708/6.598, allocations: 384.2 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/6.599, allocations: 194.3 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/6.599, allocations: 306.3 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/6.6, allocations: 251.3 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/6.6, allocations: 0 / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001651/6.602, allocations: 0.6715 MB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/6.602, allocations: 5.25 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/6.602, allocations: 0 / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/6.602, allocations: 83.98 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/6.603, allocations: 144.5 kB / 3.12 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/6.605, allocations: 1.467 MB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/6.606, allocations: 61.2 kB / 3.122 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/6.606, allocations: 31.69 kB / 3.122 GB, free: 312.7 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 () * 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.0001974/6.606, allocations: 117 kB / 3.122 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001848/6.608, allocations: 0.6761 MB / 3.123 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/6.608, allocations: 80.78 kB / 3.123 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/6.611, allocations: 0.9189 MB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/6.611, allocations: 9.75 kB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/6.611, allocations: 0 / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/6.611, allocations: 6.125 kB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/6.612, allocations: 0.7777 MB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/6.612, allocations: 0.9375 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/6.613, allocations: 147.8 kB / 3.125 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/6.613, allocations: 83.03 kB / 3.125 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/6.614, allocations: 15.02 kB / 3.125 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/6.615, allocations: 1.495 MB / 3.126 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/6.615, allocations: 0 / 3.126 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/6.617, allocations: 0.7928 MB / 3.127 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/6.618, allocations: 282.4 kB / 3.127 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/6.618, allocations: 7.969 kB / 3.127 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/6.618, allocations: 53.38 kB / 3.127 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/6.618, allocations: 60.89 kB / 3.127 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/6.618, allocations: 30.94 kB / 3.127 GB, free: 310.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006495/6.619, allocations: 436.3 kB / 3.128 GB, free: 310.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/6.619, allocations: 0 / 3.128 GB, free: 310.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001182/6.62, allocations: 311.7 kB / 3.128 GB, free: 310.5 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) * 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.003945/6.624, allocations: 2.314 MB / 3.13 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001438/6.626, allocations: 0.6521 MB / 3.131 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/6.626, allocations: 3.562 kB / 3.131 GB, free: 309.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007772/6.627, allocations: 447.5 kB / 3.131 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/6.628, allocations: 236 kB / 3.132 GB, free: 309.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/6.632, allocations: 1.513 MB / 3.133 GB, free: 309.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/6.633, allocations: 1.039 MB / 3.134 GB, free: 308.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001016/6.634, allocations: 253 kB / 3.134 GB, free: 308.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/6.635, allocations: 380.6 kB / 3.135 GB, free: 308.3 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/6.635, allocations: 1.094 kB / 3.135 GB, free: 308.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06115/6.696, allocations: 23.86 MB / 3.158 GB, free: 306.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/6.696, allocations: 209.3 kB / 3.158 GB, free: 306.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/9.605, allocations: 0 / 3.158 GB, free: 306.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)