Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.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.0009834/0.0009834, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.0009814/0.0009814, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 0.9458/0.9458, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5847/0.5847, allocations: 115 MB / 376 MB, free: 7.535 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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.219 kB / 482 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.066e-05, allocations: 4.125 kB / 482 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.01457/0.01459, allocations: 20.38 MB / 0.4906 GB, free: 14.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.03246, allocations: 11.14 MB / 0.5015 GB, free: 6.512 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003413/0.03588, allocations: 145.1 kB / 0.5016 GB, free: 6.438 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.04016, allocations: 1.628 MB / 0.5032 GB, free: 5.547 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.04563, allocations: 2.387 MB / 0.5055 GB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005515/0.05114, allocations: 2.672 MB / 0.5081 GB, free: 1.477 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01086/0.062, allocations: 9.155 MB / 0.5171 GB, free: 8.305 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.06463, allocations: 1.585 MB / 0.5186 GB, free: 6.676 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005517/0.07015, allocations: 3.183 MB / 0.5217 GB, free: 3.516 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.07255, allocations: 1.379 MB / 0.5231 GB, free: 2.133 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000538/0.07309, allocations: 192 kB / 0.5233 GB, free: 1.945 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.07534, allocations: 1.084 MB / 0.5243 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.07602, allocations: 0.7278 MB / 0.525 GB, free: 132 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.07746, allocations: 0.8572 MB / 0.5259 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.08187, allocations: 2.511 MB / 0.5283 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.08188, allocations: 0 / 0.5283 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.08188, allocations: 0 / 0.5283 GB, free: 12.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.301e-05/0.08197, allocations: 0 / 0.5283 GB, free: 12.75 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004188/0.08616, allocations: 3.175 MB / 0.5314 GB, free: 9.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.08619, allocations: 8.031 kB / 0.5314 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.0873, allocations: 0.5486 MB / 0.532 GB, free: 8.941 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.09015, allocations: 2.408 MB / 0.5343 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.09022, allocations: 110.4 kB / 0.5344 GB, free: 6.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.09037, allocations: 140 kB / 0.5346 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.09167, allocations: 1.249 MB / 0.5358 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.09169, allocations: 0 / 0.5358 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.09177, allocations: 56 kB / 0.5358 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.0918, allocations: 32 kB / 0.5359 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.09247, allocations: 420.6 kB / 0.5363 GB, free: 4.27 MB / 458.7 MB 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.005628/0.0981, allocations: 6.137 MB / 0.5423 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.0988, allocations: 483 kB / 0.5427 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.09904, allocations: 182.8 kB / 0.5429 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/0.1011, allocations: 1.408 MB / 0.5443 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/0.1015, allocations: 0.5013 MB / 0.5448 GB, free: 11.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 1.763e-06/0.1015, allocations: 0 / 0.5448 GB, free: 11.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001012/0.1025, allocations: 0.675 MB / 0.5454 GB, free: 10.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1026, allocations: 107.3 kB / 0.5455 GB, free: 10.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.104, allocations: 1.832 MB / 0.5473 GB, free: 8.625 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.1041, allocations: 41.7 kB / 0.5473 GB, free: 8.578 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.1048, allocations: 1.226 MB / 0.5485 GB, free: 7.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1049, allocations: 226 kB / 0.5488 GB, free: 7.117 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.1051, allocations: 240.4 kB / 0.549 GB, free: 6.875 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1053, allocations: 0.5198 MB / 0.5495 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.1055, allocations: 170.5 kB / 0.5497 GB, free: 6.172 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.1061, allocations: 1.073 MB / 0.5507 GB, free: 4.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.1068, allocations: 0.9774 MB / 0.5517 GB, free: 3.473 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.1068, allocations: 4 kB / 0.5517 GB, free: 3.469 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001086/0.1079, allocations: 1.027 MB / 0.5527 GB, free: 2.422 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.1079, allocations: 49.69 kB / 0.5527 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.1079, allocations: 16 kB / 0.5527 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.108, allocations: 20 kB / 0.5527 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.1084, allocations: 255.6 kB / 0.553 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.1085, allocations: 27.88 kB / 0.553 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.1091, allocations: 151.1 kB / 0.5532 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.1091, allocations: 51.97 kB / 0.5532 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004112/0.1095, allocations: 311.1 kB / 0.5535 GB, free: 1.543 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005673/0.1101, allocations: 1.069 MB / 0.5546 GB, free: 112 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007217/0.1108, allocations: 0.9734 MB / 0.5555 GB, free: 14.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/0.1108, allocations: 4 kB / 0.5555 GB, free: 14.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.001044/0.1119, allocations: 1.026 MB / 0.5565 GB, free: 13.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.1119, allocations: 45.62 kB / 0.5566 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1119, allocations: 20.78 kB / 0.5566 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1119, allocations: 20.09 kB / 0.5566 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.1124, allocations: 267.5 kB / 0.5568 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.1124, allocations: 23.94 kB / 0.5569 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.113, allocations: 131.4 kB / 0.557 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.113, allocations: 59.92 kB / 0.5571 GB, free: 13.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 132 * 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.0001958/0.1132, allocations: 335.7 kB / 0.5574 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.1134, allocations: 246.5 kB / 0.5576 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.1142, allocations: 0.664 MB / 0.5583 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.1142, allocations: 8 kB / 0.5583 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1142, allocations: 0 / 0.5583 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003933/0.1146, allocations: 390.5 kB / 0.5586 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.1168, allocations: 2.285 MB / 0.5609 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1168, allocations: 0 / 0.5609 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.1171, allocations: 135.8 kB / 0.561 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.1173, allocations: 39.59 kB / 0.561 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.1173, allocations: 20.16 kB / 0.5611 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007531/0.1181, allocations: 1.772 MB / 0.5628 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1181, allocations: 4 kB / 0.5628 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.119, allocations: 0.9689 MB / 0.5637 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.1193, allocations: 314.2 kB / 0.564 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.1194, allocations: 19.94 kB / 0.5641 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.1198, allocations: 51.95 kB / 0.5641 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.1199, allocations: 60.48 kB / 0.5642 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.12, allocations: 27.97 kB / 0.5642 GB, free: 5.648 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007776/0.1208, allocations: 0.9759 MB / 0.5651 GB, free: 4.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1208, allocations: 4 kB / 0.5651 GB, free: 4.656 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001561/0.1223, allocations: 0.9549 MB / 0.5661 GB, free: 3.699 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004224/0.1227, allocations: 274.6 kB / 0.5663 GB, free: 3.418 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.1239, allocations: 1.041 MB / 0.5674 GB, free: 2.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1239, allocations: 8 kB / 0.5674 GB, free: 2.328 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.1242, allocations: 396.4 kB / 0.5677 GB, free: 1.926 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.1266, allocations: 1.164 MB / 0.5689 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.1304, allocations: 3.292 MB / 0.5721 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1307, allocations: 422.9 kB / 0.5725 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001205/0.1319, allocations: 433.6 kB / 0.5729 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/0.1334, allocations: 0.931 MB / 0.5738 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.382e-06/0.1334, allocations: 0 / 0.5738 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.05152/0.1849, allocations: 43.59 MB / 0.6164 GB, free: 1.039 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.163673634175211]