Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 107.6 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7365/0.7365, allocations: 126.7 MB / 417.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 68.12 kB / 0.4958 GB, free: 2.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2989, allocations: 78.86 MB / 0.5729 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006713/0.3057, allocations: 7.343 MB / 0.58 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1569/0.4626, allocations: 151.8 MB / 0.7283 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.464, allocations: 19.88 kB / 0.7283 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.4653, allocations: 436.7 kB / 0.7287 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.4672, allocations: 0.7623 MB / 0.7295 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.4693, allocations: 1.118 MB / 0.7305 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002326/0.4717, allocations: 2.454 MB / 0.7329 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.4731, allocations: 1.149 MB / 0.7341 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008965/0.474, allocations: 0.9074 MB / 0.7349 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.4751, allocations: 0.9885 MB / 0.7359 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003184/0.4754, allocations: 264 kB / 0.7362 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009542/0.4764, allocations: 0.6167 MB / 0.7368 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004816/0.4769, allocations: 0.5725 MB / 0.7373 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009484/0.4778, allocations: 1.081 MB / 0.7384 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.4806, allocations: 3.1 MB / 0.7414 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4807, allocations: 0 / 0.7414 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4807, allocations: 0 / 0.7414 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.4807, allocations: 4 kB / 0.7414 GB, free: 8.605 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004083/0.4848, allocations: 2.293 MB / 0.7437 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.4848, allocations: 8.031 kB / 0.7437 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000279/0.4851, allocations: 236.7 kB / 0.7439 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005726/0.4908, allocations: 0.8647 MB / 0.7447 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.4924, allocations: 1.113 MB / 0.7458 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.4925, allocations: 123.3 kB / 0.7459 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.4927, allocations: 160 kB / 0.7461 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.4969, allocations: 2.06 MB / 0.7481 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.497, allocations: 0 / 0.7481 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.4972, allocations: 71.98 kB / 0.7482 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.4972, allocations: 36 kB / 0.7482 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2158/0.713, allocations: 2.448 MB / 0.7506 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009437/0.7225, allocations: 5.97 MB / 0.7564 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/0.7267, allocations: 1.716 MB / 0.7581 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.7285, allocations: 0.7998 MB / 0.7589 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000503/0.729, allocations: 490.6 kB / 0.7593 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002117/0.7311, allocations: 1.075 MB / 0.7604 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=139): time 2.485e-06/0.7311, allocations: 0 / 0.7604 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.006684/0.7378, allocations: 2.617 MB / 0.763 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.7379, allocations: 220.8 kB / 0.7632 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.7388, allocations: 0.9375 MB / 0.7641 GB, free: 161 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.7389, allocations: 58.77 kB / 0.7641 GB, free: 161 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.7392, allocations: 0.6463 MB / 0.7648 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.7394, allocations: 453.3 kB / 0.7652 GB, free: 160 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.7398, allocations: 261.1 kB / 0.7654 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.7398, allocations: 352.2 kB / 0.7658 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.7416, allocations: 0.6683 MB / 0.7664 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.7434, allocations: 0.8217 MB / 0.7672 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/0.7468, allocations: 1.445 MB / 0.7687 GB, free: 158 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7468, allocations: 1.438 kB / 0.7687 GB, free: 158 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004385/0.7512, allocations: 1.795 MB / 0.7704 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7512, allocations: 5.562 kB / 0.7704 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7513, allocations: 1.156 kB / 0.7704 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.7518, allocations: 92.3 kB / 0.7705 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.7535, allocations: 328.5 kB / 0.7708 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.755, allocations: 1.652 MB / 0.7724 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.7564, allocations: 208 kB / 0.7726 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.7566, allocations: 58.22 kB / 0.7727 GB, free: 155.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000496/0.7571, allocations: 401.4 kB / 0.7731 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.7573, allocations: 129.5 kB / 0.7732 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.7624, allocations: 2.225 MB / 0.7754 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.7624, allocations: 17.06 kB / 0.7754 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7624, allocations: 7.984 kB / 0.7754 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.7624, allocations: 7.969 kB / 0.7754 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.7637, allocations: 1.807 MB / 0.7772 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7637, allocations: 0 / 0.7772 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.7653, allocations: 318.3 kB / 0.7775 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003866/0.7657, allocations: 72.78 kB / 0.7775 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.7658, allocations: 51.89 kB / 0.7776 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.767, allocations: 1.674 MB / 0.7792 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7671, allocations: 0 / 0.7792 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/0.7712, allocations: 1.918 MB / 0.7811 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.7716, allocations: 446.8 kB / 0.7815 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.7718, allocations: 39.88 kB / 0.7816 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.7731, allocations: 147.8 kB / 0.7817 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.7733, allocations: 113.1 kB / 0.7818 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.7734, allocations: 59.95 kB / 0.7819 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005908/0.774, allocations: 0.6832 MB / 0.7825 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.774, allocations: 0 / 0.7825 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000829/0.7749, allocations: 0.5246 MB / 0.783 GB, free: 146.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005795/0.7807, allocations: 3.005 MB / 0.786 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005349/0.786, allocations: 2.136 MB / 0.7881 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.786, allocations: 4 kB / 0.7881 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.788, allocations: 1.049 MB / 0.7891 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.7893, allocations: 400.2 kB / 0.7895 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.8063, allocations: 12.02 MB / 0.8012 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.8067, allocations: 1.276 MB / 0.8025 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001401/0.8081, allocations: 396 kB / 0.8028 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008241/0.809, allocations: 0.6827 MB / 0.8035 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.809, allocations: 4 kB / 0.8035 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.528/6.337, allocations: 35.25 MB / 0.8379 GB, free: 90.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.77/27.11, allocations: 10.67 kB / 0.8379 GB, free: 90.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)