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.001384/0.001384, allocations: 115.7 kB / 19.64 MB, free: 2.312 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.001454/0.001454, allocations: 202.3 kB / 22.93 MB, free: 5.875 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.471/1.471, allocations: 225.6 MB / 251.7 MB, free: 13.32 MB / 206.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.8372/0.8372, allocations: 129.2 MB / 436 MB, free: 5.723 MB / 334.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: translateModel(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.11 kB / 0.6041 GB, free: 20.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1905, allocations: 83.44 MB / 0.6855 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01071/0.2012, allocations: 7.428 MB / 0.6928 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6042/0.8053, allocations: 152.4 MB / 0.8416 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.8067, allocations: 21.28 kB / 0.8416 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.8084, allocations: 437.4 kB / 0.842 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.8108, allocations: 0.7648 MB / 0.8428 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.8133, allocations: 1.16 MB / 0.8439 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.8167, allocations: 2.449 MB / 0.8463 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.818, allocations: 0.7784 MB / 0.8471 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.8192, allocations: 0.9107 MB / 0.848 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.8205, allocations: 0.9958 MB / 0.8489 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.8208, allocations: 267.1 kB / 0.8492 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.8219, allocations: 0.6388 MB / 0.8498 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005099/0.8224, allocations: 0.5742 MB / 0.8504 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.8234, allocations: 1.079 MB / 0.8514 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.827, allocations: 3.168 MB / 0.8545 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.827, allocations: 0 / 0.8545 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.827, allocations: 0 / 0.8545 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.157e-05/0.827, allocations: 0 / 0.8545 GB, free: 7.785 MB / 0.6075 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.005072/0.8321, allocations: 2.346 MB / 0.8568 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.8321, allocations: 11.31 kB / 0.8568 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006388/0.8385, allocations: 0.8784 MB / 0.8577 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.841, allocations: 1.135 MB / 0.8588 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.8411, allocations: 123.7 kB / 0.8589 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.8414, allocations: 163.8 kB / 0.8591 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.8463, allocations: 2.06 MB / 0.8611 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.8463, allocations: 0 / 0.8611 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.8465, allocations: 74.95 kB / 0.8611 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.8466, allocations: 41.22 kB / 0.8612 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006234/0.8528, allocations: 2.443 MB / 0.8636 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.864, allocations: 5.923 MB / 0.8694 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/0.8688, allocations: 1.618 MB / 0.8709 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.871, allocations: 0.7348 MB / 0.8717 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.8718, allocations: 486.7 kB / 0.8721 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002756/0.8745, allocations: 1.079 MB / 0.8732 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=139): time 3.136e-06/0.8745, allocations: 0 / 0.8732 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.008333/0.8829, allocations: 2.615 MB / 0.8757 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.883, allocations: 218.9 kB / 0.8759 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.8845, allocations: 0.9444 MB / 0.8769 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.8847, allocations: 57.69 kB / 0.8769 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/0.8853, allocations: 0.6538 MB / 0.8775 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004876/0.8858, allocations: 479.9 kB / 0.878 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/0.8863, allocations: 270.8 kB / 0.8783 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.8865, allocations: 357.9 kB / 0.8786 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.8886, allocations: 0.6896 MB / 0.8793 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.891, allocations: 0.832 MB / 0.8801 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/0.8953, allocations: 1.471 MB / 0.8815 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8953, allocations: 0 / 0.8815 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005708/0.901, allocations: 1.85 MB / 0.8833 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.9011, allocations: 8 kB / 0.8833 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.9011, allocations: 0 / 0.8833 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/0.9017, allocations: 92.77 kB / 0.8834 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.9037, allocations: 347.4 kB / 0.8838 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.9061, allocations: 1.636 MB / 0.8854 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.9083, allocations: 217.5 kB / 0.8856 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.9084, allocations: 59.94 kB / 0.8856 GB, free: 11.62 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (161): * Single equations (assignments): 160 * 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.0009676/0.9094, allocations: 412.1 kB / 0.886 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.9098, allocations: 135.2 kB / 0.8861 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/0.9163, allocations: 2.218 MB / 0.8883 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.9163, allocations: 16 kB / 0.8883 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9163, allocations: 3.938 kB / 0.8883 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.9163, allocations: 7.969 kB / 0.8883 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.919, allocations: 1.797 MB / 0.8901 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.919, allocations: 0 / 0.8901 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/0.9209, allocations: 315.5 kB / 0.8904 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.9213, allocations: 76.78 kB / 0.8905 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.9215, allocations: 43.95 kB / 0.8905 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.9237, allocations: 1.686 MB / 0.8922 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9237, allocations: 0 / 0.8922 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/0.9296, allocations: 1.93 MB / 0.894 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/0.9305, allocations: 439.7 kB / 0.8945 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.9308, allocations: 47.88 kB / 0.8945 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.9324, allocations: 143.8 kB / 0.8946 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.9326, allocations: 117.1 kB / 0.8948 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.9328, allocations: 59.95 kB / 0.8948 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001088/0.9339, allocations: 0.683 MB / 0.8955 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9339, allocations: 0 / 0.8955 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001484/0.9353, allocations: 0.522 MB / 0.896 GB, free: 0.7305 MB / 0.6387 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.00206/0.9374, allocations: 0.6528 MB / 0.8966 GB, free: 268 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005417/0.9428, allocations: 1.763 MB / 0.8983 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9428, allocations: 0 / 0.8983 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.9455, allocations: 0.9744 MB / 0.8993 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.9474, allocations: 400.3 kB / 0.8997 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/0.9539, allocations: 3.107 MB / 0.9027 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.955, allocations: 1.28 MB / 0.904 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001842/0.9568, allocations: 398.3 kB / 0.9043 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.9574, allocations: 175.3 kB / 0.9045 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.9574, allocations: 3.938 kB / 0.9045 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of Templates: time 0.04815/1.006, allocations: 26 MB / 0.9299 GB, free: 14.31 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.397408318705857] Failed to read output from testmodel.py, exit status != 0: 1.013848981820047 1.02916359 0.19887853500000002 Calling exit ...