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.0009067/0.0009067, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009078/0.0009078, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9314/0.9314, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.6062/0.6062, allocations: 115 MB / 375.7 MB, free: 7.672 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.633e-06/1.633e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.405e-05, allocations: 7.016 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.01628/0.0163, allocations: 20.75 MB / 0.4905 GB, free: 14.11 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.03071, allocations: 11.23 MB / 0.5015 GB, free: 6.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.03226, allocations: 138.9 kB / 0.5016 GB, free: 6.453 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.03531, allocations: 1.636 MB / 0.5032 GB, free: 5.277 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.03875, allocations: 2.386 MB / 0.5055 GB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.04316, allocations: 2.676 MB / 0.5081 GB, free: 1.254 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008211/0.05137, allocations: 9.188 MB / 0.5171 GB, free: 8.055 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.05338, allocations: 1.585 MB / 0.5187 GB, free: 6.426 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.05715, allocations: 3.174 MB / 0.5218 GB, free: 3.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.05873, allocations: 1.375 MB / 0.5231 GB, free: 1.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003741/0.05911, allocations: 192 kB / 0.5233 GB, free: 1.703 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.06092, allocations: 1.084 MB / 0.5244 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.0614, allocations: 0.7356 MB / 0.5251 GB, free: 15.88 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000862/0.06227, allocations: 0.8572 MB / 0.5259 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.06483, allocations: 2.511 MB / 0.5284 GB, free: 12.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.06484, allocations: 0 / 0.5284 GB, free: 12.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06484, allocations: 0 / 0.5284 GB, free: 12.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.245e-05/0.06488, allocations: 0 / 0.5284 GB, free: 12.5 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.002995/0.06788, allocations: 3.152 MB / 0.5314 GB, free: 9.273 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.06791, allocations: 12.02 kB / 0.5314 GB, free: 9.262 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009887/0.0689, allocations: 0.5486 MB / 0.532 GB, free: 8.711 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.07134, allocations: 2.459 MB / 0.5344 GB, free: 6.168 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.07141, allocations: 106.4 kB / 0.5345 GB, free: 6.062 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.07156, allocations: 148 kB / 0.5346 GB, free: 5.918 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.07302, allocations: 1.324 MB / 0.5359 GB, free: 4.426 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.07305, allocations: 7.938 kB / 0.5359 GB, free: 4.418 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.07313, allocations: 52 kB / 0.536 GB, free: 4.367 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.07317, allocations: 32 kB / 0.536 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/0.07402, allocations: 0.505 MB / 0.5365 GB, free: 3.82 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.005059/0.07908, allocations: 6.084 MB / 0.5424 GB, free: 13.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.0799, allocations: 0.5168 MB / 0.5429 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.08021, allocations: 210.7 kB / 0.5431 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0019/0.08211, allocations: 1.417 MB / 0.5445 GB, free: 11.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004967/0.08261, allocations: 0.5131 MB / 0.545 GB, free: 10.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 1.784e-06/0.08261, allocations: 4 kB / 0.545 GB, free: 10.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001124/0.08374, allocations: 0.7217 MB / 0.5457 GB, free: 10.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.08378, allocations: 119.2 kB / 0.5459 GB, free: 9.934 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.08539, allocations: 1.857 MB / 0.5477 GB, free: 8.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.08544, allocations: 49.7 kB / 0.5477 GB, free: 7.996 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.08616, allocations: 1.215 MB / 0.5489 GB, free: 6.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.0863, allocations: 226.1 kB / 0.5491 GB, free: 6.547 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.08652, allocations: 228.5 kB / 0.5493 GB, free: 6.316 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.08666, allocations: 0.5121 MB / 0.5498 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.08693, allocations: 190.5 kB / 0.55 GB, free: 5.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.08755, allocations: 1.077 MB / 0.5511 GB, free: 4.156 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.08841, allocations: 1.001 MB / 0.552 GB, free: 2.875 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.08842, allocations: 4 kB / 0.552 GB, free: 2.871 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001201/0.08962, allocations: 1.077 MB / 0.5531 GB, free: 1.773 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.08965, allocations: 37.7 kB / 0.5531 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.08967, allocations: 16.81 kB / 0.5532 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.08969, allocations: 20 kB / 0.5532 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.09024, allocations: 271.5 kB / 0.5534 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.09026, allocations: 27.92 kB / 0.5535 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.0908, allocations: 143.1 kB / 0.5536 GB, free: 1.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.09086, allocations: 63.98 kB / 0.5537 GB, free: 1.199 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004495/0.09131, allocations: 331.1 kB / 0.554 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006008/0.09191, allocations: 1.073 MB / 0.555 GB, free: 15.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008652/0.09278, allocations: 1.009 MB / 0.556 GB, free: 14.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.903e-06/0.09279, allocations: 4 kB / 0.556 GB, free: 14.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.00114/0.09393, allocations: 1.077 MB / 0.5571 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.09395, allocations: 45.62 kB / 0.5571 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.09396, allocations: 23.92 kB / 0.5571 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.09397, allocations: 20 kB / 0.5571 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.09448, allocations: 260 kB / 0.5574 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.0945, allocations: 31.86 kB / 0.5574 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.09501, allocations: 119.4 kB / 0.5575 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.09508, allocations: 63.98 kB / 0.5576 GB, free: 12.48 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.0001997/0.09528, allocations: 350.6 kB / 0.5579 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.09547, allocations: 250.5 kB / 0.5582 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009519/0.09643, allocations: 0.7205 MB / 0.5589 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.09643, allocations: 8 kB / 0.5589 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.09644, allocations: 0 / 0.5589 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005215/0.09696, allocations: 430.6 kB / 0.5593 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.09926, allocations: 2.286 MB / 0.5615 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.09926, allocations: 4 kB / 0.5615 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.09961, allocations: 144 kB / 0.5617 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.09975, allocations: 31.67 kB / 0.5617 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.09978, allocations: 20.03 kB / 0.5617 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007753/0.1006, allocations: 1.787 MB / 0.5635 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1006, allocations: 7.938 kB / 0.5635 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1017, allocations: 1.043 MB / 0.5645 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.102, allocations: 310.3 kB / 0.5648 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.1021, allocations: 19.94 kB / 0.5648 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.1026, allocations: 55.98 kB / 0.5649 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.1026, allocations: 60.48 kB / 0.5649 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.1027, allocations: 35.97 kB / 0.5649 GB, free: 4.664 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009721/0.1037, allocations: 1.058 MB / 0.566 GB, free: 3.594 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1037, allocations: 0 / 0.566 GB, free: 3.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00138/0.105, allocations: 0.9548 MB / 0.5669 GB, free: 2.637 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.0004033/0.1054, allocations: 274.9 kB / 0.5672 GB, free: 2.355 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.1066, allocations: 1.113 MB / 0.5683 GB, free: 1.203 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1066, allocations: 0 / 0.5683 GB, free: 1.203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.1071, allocations: 426.3 kB / 0.5687 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.1093, allocations: 1.151 MB / 0.5698 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.1127, allocations: 3.295 MB / 0.573 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.113, allocations: 422.9 kB / 0.5734 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009625/0.114, allocations: 468.4 kB / 0.5739 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.1143, allocations: 184.4 kB / 0.574 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.1143, allocations: 0 / 0.574 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.04419/0.1585, allocations: 43.05 MB / 0.6161 GB, free: 1.055 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.265000463929027]