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.001191/0.001191, 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.001304/0.001304, allocations: 199.3 kB / 22.92 MB, free: 5.879 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.323/1.323, allocations: 225.6 MB / 251.7 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 179] 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.7834/0.7834, allocations: 129.2 MB / 436 MB, free: 5.734 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.001803/0.001803, allocations: 63.22 kB / 0.604 GB, free: 20.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1433, allocations: 83.45 MB / 0.6855 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01028/0.1536, allocations: 7.432 MB / 0.6928 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.495/0.6486, allocations: 152.4 MB / 0.8416 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.6498, allocations: 22.69 kB / 0.8416 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.6512, allocations: 436 kB / 0.842 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.6533, allocations: 0.7644 MB / 0.8428 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.6558, allocations: 1.159 MB / 0.8439 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.6585, allocations: 2.452 MB / 0.8463 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6597, allocations: 0.7691 MB / 0.8471 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.6607, allocations: 0.9141 MB / 0.848 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.6618, allocations: 0.9986 MB / 0.8489 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.6621, allocations: 264.4 kB / 0.8492 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.6631, allocations: 0.6424 MB / 0.8498 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004811/0.6636, allocations: 0.5668 MB / 0.8504 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009241/0.6645, allocations: 1.075 MB / 0.8514 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.6677, allocations: 3.169 MB / 0.8545 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6677, allocations: 0 / 0.8545 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6678, allocations: 2.688 kB / 0.8545 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.256e-05/0.6678, allocations: 0 / 0.8545 GB, free: 7.816 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.004497/0.6723, allocations: 2.353 MB / 0.8568 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.6723, allocations: 12.8 kB / 0.8568 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005797/0.6781, allocations: 0.8743 MB / 0.8577 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.6799, allocations: 1.135 MB / 0.8588 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.68, allocations: 121 kB / 0.8589 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.6803, allocations: 162.7 kB / 0.8591 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.6845, allocations: 2.06 MB / 0.8611 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.6845, allocations: 3.984 kB / 0.8611 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.6847, allocations: 67.47 kB / 0.8611 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.6847, allocations: 41.72 kB / 0.8612 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00562/0.6903, allocations: 2.449 MB / 0.8636 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009724/0.7, allocations: 5.927 MB / 0.8694 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.7044, allocations: 1.625 MB / 0.8709 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.7063, allocations: 0.723 MB / 0.8717 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/0.707, allocations: 491.1 kB / 0.8721 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002465/0.7095, allocations: 1.069 MB / 0.8732 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=139): time 2.785e-06/0.7095, allocations: 0 / 0.8732 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.0077/0.7172, allocations: 2.619 MB / 0.8757 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.7173, allocations: 218.9 kB / 0.8759 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.7186, allocations: 0.9444 MB / 0.8769 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.7187, allocations: 61.69 kB / 0.8769 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/0.7193, allocations: 0.6538 MB / 0.8775 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004271/0.7197, allocations: 479.9 kB / 0.878 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/0.7202, allocations: 266.8 kB / 0.8783 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.7204, allocations: 361.8 kB / 0.8786 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.7224, allocations: 0.6858 MB / 0.8793 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.7245, allocations: 0.8358 MB / 0.8801 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004025/0.7286, allocations: 1.463 MB / 0.8815 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7286, allocations: 0 / 0.8815 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005208/0.7338, allocations: 1.849 MB / 0.8833 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.7338, allocations: 8 kB / 0.8833 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.7338, allocations: 0 / 0.8833 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.7344, allocations: 92.77 kB / 0.8834 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.7362, allocations: 343.5 kB / 0.8838 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.7385, allocations: 1.643 MB / 0.8854 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.7402, allocations: 214.4 kB / 0.8856 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.7404, allocations: 63.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.0008355/0.7412, allocations: 404.9 kB / 0.886 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.7415, allocations: 135.2 kB / 0.8861 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006104/0.7476, allocations: 2.218 MB / 0.8883 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.7477, allocations: 19.98 kB / 0.8883 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7477, allocations: 3.938 kB / 0.8883 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.7477, allocations: 7.969 kB / 0.8883 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.75, allocations: 1.797 MB / 0.8901 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.75, allocations: 4 kB / 0.8901 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.7517, allocations: 315.5 kB / 0.8904 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.7522, allocations: 72.78 kB / 0.8905 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.7523, allocations: 47.95 kB / 0.8905 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.7543, allocations: 1.682 MB / 0.8922 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.7543, allocations: 0 / 0.8922 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/0.7595, allocations: 1.934 MB / 0.894 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/0.7603, allocations: 443.7 kB / 0.8945 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.7605, allocations: 43.88 kB / 0.8945 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.762, allocations: 139.8 kB / 0.8946 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.7622, allocations: 117.1 kB / 0.8947 GB, free: 2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.7624, allocations: 63.95 kB / 0.8948 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009874/0.7634, allocations: 0.6829 MB / 0.8955 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7634, allocations: 0 / 0.8955 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001317/0.7647, allocations: 0.526 MB / 0.896 GB, free: 0.7188 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.001997/0.7667, allocations: 0.6425 MB / 0.8966 GB, free: 272 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004793/0.7715, allocations: 1.763 MB / 0.8983 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7715, allocations: 0 / 0.8983 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.7739, allocations: 0.9783 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.001582/0.7755, allocations: 400.2 kB / 0.8997 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.7814, allocations: 3.111 MB / 0.9027 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009442/0.7824, allocations: 1.28 MB / 0.904 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001423/0.7838, allocations: 394.5 kB / 0.9043 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.7844, allocations: 171.3 kB / 0.9045 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7844, allocations: 0 / 0.9045 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of Templates: time 0.04237/0.8267, allocations: 26.02 MB / 0.9299 GB, free: 14.3 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.633361128624529] Failed to read output from testmodel.py, exit status != 0: 0.8345431378111243 0.848365687 0.177723338 Calling exit ...