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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 110.6 kB / 18.32 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 186 kB / 21.5 MB, free: 0.8164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.1 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8774/0.8774, allocations: 128.4 MB / 433.6 MB, free: 13.38 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 0.6004 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4505, allocations: 83.26 MB / 0.6817 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007542/0.458, allocations: 7.44 MB / 0.6889 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.193/0.651, allocations: 152.3 MB / 0.8377 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.6536, allocations: 23.88 kB / 0.8377 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.6555, allocations: 434.3 kB / 0.8382 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.659, allocations: 0.7646 MB / 0.8389 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.6622, allocations: 1.152 MB / 0.84 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.6658, allocations: 2.462 MB / 0.8424 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.6672, allocations: 0.7698 MB / 0.8432 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.669, allocations: 0.915 MB / 0.8441 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.6711, allocations: 0.9921 MB / 0.845 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006538/0.6718, allocations: 264 kB / 0.8453 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.6735, allocations: 0.6441 MB / 0.8459 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.6741, allocations: 0.5725 MB / 0.8465 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.6753, allocations: 1.073 MB / 0.8475 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.6792, allocations: 3.172 MB / 0.8506 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6792, allocations: 0 / 0.8506 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6792, allocations: 0 / 0.8506 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.011e-05/0.6792, allocations: 4 kB / 0.8506 GB, free: 0.9258 MB / 0.6544 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.004645/0.6839, allocations: 2.349 MB / 0.8529 GB, free: 14.51 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6839, allocations: 12.03 kB / 0.8529 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/0.6842, allocations: 236.6 kB / 0.8532 GB, free: 14.26 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005872/0.6901, allocations: 0.885 MB / 0.854 GB, free: 13.37 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.6922, allocations: 1.129 MB / 0.8551 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.6923, allocations: 123.2 kB / 0.8552 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.6925, allocations: 160 kB / 0.8554 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004734/0.6973, allocations: 2.067 MB / 0.8574 GB, free: 9.801 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.6973, allocations: 3.938 kB / 0.8574 GB, free: 9.797 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.6975, allocations: 68 kB / 0.8575 GB, free: 9.73 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.6975, allocations: 36 kB / 0.8575 GB, free: 9.695 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006266/0.7038, allocations: 2.452 MB / 0.8599 GB, free: 7.238 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.7142, allocations: 5.932 MB / 0.8657 GB, free: 1.07 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3423/1.056, allocations: 1.602 MB / 0.8673 GB, free: 175.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/1.059, allocations: 0.7288 MB / 0.868 GB, free: 175.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/1.059, allocations: 490.7 kB / 0.8685 GB, free: 174.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002649/1.062, allocations: 1.075 MB / 0.8695 GB, free: 174.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=139): time 3.607e-06/1.062, allocations: 0 / 0.8695 GB, free: 174.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=139): time 0.008031/1.07, allocations: 2.617 MB / 0.8721 GB, free: 173.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/1.07, allocations: 222.1 kB / 0.8723 GB, free: 173.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/1.071, allocations: 0.939 MB / 0.8732 GB, free: 172.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/1.072, allocations: 54.28 kB / 0.8732 GB, free: 172.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/1.072, allocations: 0.666 MB / 0.8739 GB, free: 172.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/1.072, allocations: 473.7 kB / 0.8743 GB, free: 172.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004636/1.073, allocations: 257.6 kB / 0.8746 GB, free: 172.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.125e-05/1.073, allocations: 355.1 kB / 0.8749 GB, free: 171.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/1.075, allocations: 0.6667 MB / 0.8756 GB, free: 171.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/1.077, allocations: 0.8268 MB / 0.8764 GB, free: 171.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/1.082, allocations: 1.449 MB / 0.8778 GB, free: 170.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/1.082, allocations: 3.656 kB / 0.8778 GB, free: 170.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005112/1.087, allocations: 1.804 MB / 0.8796 GB, free: 169.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.087, allocations: 5.469 kB / 0.8796 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.087, allocations: 1.531 kB / 0.8796 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/1.087, allocations: 87.12 kB / 0.8797 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.089, allocations: 331.6 kB / 0.88 GB, free: 169.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/1.091, allocations: 1.644 MB / 0.8816 GB, free: 168.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.092, allocations: 206.9 kB / 0.8818 GB, free: 168.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.093, allocations: 56 kB / 0.8818 GB, free: 168.2 MB / 0.67 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.00073/1.093, allocations: 408.1 kB / 0.8822 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/1.094, allocations: 137.6 kB / 0.8823 GB, free: 167.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005709/1.099, allocations: 2.235 MB / 0.8845 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.099, allocations: 14.44 kB / 0.8845 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.099, allocations: 1.219 kB / 0.8845 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.099, allocations: 7.969 kB / 0.8846 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/1.101, allocations: 1.807 MB / 0.8863 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.101, allocations: 5.156 kB / 0.8863 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.103, allocations: 312.2 kB / 0.8866 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/1.103, allocations: 76.67 kB / 0.8867 GB, free: 165.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/1.103, allocations: 53.28 kB / 0.8867 GB, free: 165.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/1.105, allocations: 1.667 MB / 0.8884 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.105, allocations: 3.984 kB / 0.8884 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/1.11, allocations: 1.93 MB / 0.8903 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/1.111, allocations: 447.7 kB / 0.8907 GB, free: 162.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.111, allocations: 44.53 kB / 0.8907 GB, free: 162.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.112, allocations: 138.8 kB / 0.8909 GB, free: 162.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.112, allocations: 114.9 kB / 0.891 GB, free: 162.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.113, allocations: 64.3 kB / 0.891 GB, free: 162 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009137/1.113, allocations: 0.6834 MB / 0.8917 GB, free: 161.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.113, allocations: 0 / 0.8917 GB, free: 161.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001412/1.115, allocations: 0.5251 MB / 0.8922 GB, free: 161.5 MB / 0.67 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.007297/1.122, allocations: 3.028 MB / 0.8952 GB, free: 159.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005913/1.128, allocations: 1.722 MB / 0.8969 GB, free: 158.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/1.128, allocations: 1.656 kB / 0.8969 GB, free: 158.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002795/1.131, allocations: 0.9841 MB / 0.8978 GB, free: 158.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.133, allocations: 402.3 kB / 0.8982 GB, free: 158.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.157, allocations: 11.4 MB / 0.9093 GB, free: 148.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008925/1.158, allocations: 1.288 MB / 0.9106 GB, free: 146.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001695/1.16, allocations: 402.6 kB / 0.911 GB, free: 146.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.161, allocations: 0.6827 MB / 0.9116 GB, free: 145.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.613e-06/1.161, allocations: 0 / 0.9116 GB, free: 145.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07492/1.236, allocations: 35.96 MB / 0.9468 GB, free: 110.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.57, allocations: 10.31 kB / 0.9468 GB, free: 110.1 MB / 0.67 GB " [Timeout remaining time 644] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.175023782998323] Failed to read output from testmodel.py, exit status != 0: 15.784694738016697 15.798169045 15.116011935 Calling exit ...