Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00247/0.00247, allocations: 93.47 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002894/0.002894, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.639/1.639, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.052/1.052, allocations: 115 MB / 375.3 MB, free: 7.59 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.545e-05, allocations: 2.312 kB / 480.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06573/0.06576, allocations: 55.67 MB / 0.5239 GB, free: 0.707 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03401/0.09977, allocations: 18.29 MB / 0.5418 GB, free: 14.37 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/0.1034, allocations: 130.9 kB / 0.5419 GB, free: 14.24 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008269/0.1117, allocations: 1.955 MB / 0.5438 GB, free: 12.27 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.1224, allocations: 2.763 MB / 0.5465 GB, free: 9.496 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.1329, allocations: 2.813 MB / 0.5492 GB, free: 6.676 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.02053/0.1534, allocations: 8.496 MB / 0.5575 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.1581, allocations: 1.427 MB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009785/0.1679, allocations: 3.172 MB / 0.562 GB, free: 9.539 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.1711, allocations: 1.277 MB / 0.5633 GB, free: 8.262 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006134/0.1717, allocations: 172 kB / 0.5634 GB, free: 8.094 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.1756, allocations: 1.427 MB / 0.5648 GB, free: 6.664 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009219/0.1765, allocations: 0.6967 MB / 0.5655 GB, free: 5.965 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.178, allocations: 0.7908 MB / 0.5663 GB, free: 5.172 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006483/0.1844, allocations: 3.738 MB / 0.5699 GB, free: 1.422 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1845, allocations: 0 / 0.5699 GB, free: 1.422 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1845, allocations: 0 / 0.5699 GB, free: 1.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.368e-05/0.1845, allocations: 0 / 0.5699 GB, free: 1.422 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006046/0.1906, allocations: 3.278 MB / 0.5731 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1906, allocations: 12.03 kB / 0.5731 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.2017, allocations: 1.735 MB / 0.5748 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/0.2073, allocations: 2.512 MB / 0.5773 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.2074, allocations: 106.1 kB / 0.5774 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.2077, allocations: 128 kB / 0.5775 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.2131, allocations: 2.122 MB / 0.5796 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.2132, allocations: 3.938 kB / 0.5796 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.2133, allocations: 48 kB / 0.5796 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.2134, allocations: 28 kB / 0.5797 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00707/0.2204, allocations: 1.979 MB / 0.5816 GB, free: 5.152 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.2392, allocations: 8.841 MB / 0.5902 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/0.2438, allocations: 1.328 MB / 0.5915 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.247, allocations: 0.88 MB / 0.5924 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006794/0.2538, allocations: 2.841 MB / 0.5952 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00352/0.2573, allocations: 1.097 MB / 0.5962 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.056e-06/0.2573, allocations: 4 kB / 0.5962 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.01018/0.2675, allocations: 2.553 MB / 0.5987 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.2675, allocations: 67.91 kB / 0.5988 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/0.2721, allocations: 2.471 MB / 0.6012 GB, free: 344 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.2723, allocations: 41.7 kB / 0.6012 GB, free: 296 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.2739, allocations: 1.34 MB / 0.6026 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.2742, allocations: 226.2 kB / 0.6028 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005341/0.2748, allocations: 288.4 kB / 0.603 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003514/0.2751, allocations: 0.5473 MB / 0.6036 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/0.2784, allocations: 0.8692 MB / 0.6044 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/0.2825, allocations: 1.844 MB / 0.6062 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006726/0.2892, allocations: 2.143 MB / 0.6083 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.2892, allocations: 4 kB / 0.6083 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007779/0.297, allocations: 2.326 MB / 0.6106 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.2971, allocations: 42.33 kB / 0.6106 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.2971, allocations: 20 kB / 0.6107 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.12e-05/0.2971, allocations: 23.98 kB / 0.6107 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/0.2996, allocations: 455.4 kB / 0.6111 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/0.2996, allocations: 27.92 kB / 0.6111 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.3023, allocations: 323 kB / 0.6114 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.3024, allocations: 67.97 kB / 0.6115 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003866/0.3063, allocations: 1.159 MB / 0.6126 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004358/0.3106, allocations: 1.848 MB / 0.6144 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00638/0.317, allocations: 2.143 MB / 0.6165 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.51e-05/0.317, allocations: 8 kB / 0.6165 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.007691/0.3247, allocations: 2.327 MB / 0.6188 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.3248, allocations: 41.83 kB / 0.6189 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.3248, allocations: 19.94 kB / 0.6189 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.3248, allocations: 24 kB / 0.6189 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.3272, allocations: 451.4 kB / 0.6193 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.552e-05/0.3273, allocations: 35.86 kB / 0.6194 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.3299, allocations: 311.1 kB / 0.6197 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.3301, allocations: 67.97 kB / 0.6197 GB, free: 11.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004706/0.3306, allocations: 351.6 kB / 0.6201 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.331, allocations: 242.5 kB / 0.6203 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007413/0.3384, allocations: 1.993 MB / 0.6222 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.3385, allocations: 4 kB / 0.6222 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3385, allocations: 4 kB / 0.6222 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006245/0.3447, allocations: 1.773 MB / 0.624 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.3561, allocations: 4.07 MB / 0.628 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.3561, allocations: 4 kB / 0.628 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/0.3581, allocations: 307.7 kB / 0.6283 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002531/0.3583, allocations: 43.66 kB / 0.6283 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.526e-05/0.3584, allocations: 27.97 kB / 0.6283 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.3602, allocations: 1.866 MB / 0.6301 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3602, allocations: 4 kB / 0.6301 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.3707, allocations: 3.04 MB / 0.6331 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.3719, allocations: 362.1 kB / 0.6335 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.3722, allocations: 16 kB / 0.6335 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.3743, allocations: 231.7 kB / 0.6337 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.3744, allocations: 52.5 kB / 0.6337 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.3746, allocations: 39.95 kB / 0.6338 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002586/0.3771, allocations: 1.352 MB / 0.6351 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.3771, allocations: 0 / 0.6351 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002915/0.3801, allocations: 0.9746 MB / 0.6361 GB, free: 10.78 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00317/0.3832, allocations: 0.6899 MB / 0.6367 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01062/0.3939, allocations: 3.237 MB / 0.6399 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3939, allocations: 0 / 0.6399 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003578/0.3974, allocations: 1.096 MB / 0.641 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.402, allocations: 1.045 MB / 0.642 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008675/0.4106, allocations: 3.934 MB / 0.6458 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.177/0.5876, allocations: 0.9579 MB / 0.6468 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002594/0.5902, allocations: 0.5027 MB / 0.6473 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/0.5909, allocations: 193 kB / 0.6474 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/0.5909, allocations: 0 / 0.6474 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.06415/0.6551, allocations: 42.31 MB / 0.6888 GB, free: 148.2 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5041153179481626]