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.001054/0.001054, 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.0009232/0.0009232, 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.9478/0.9478, 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.5937/0.5937, allocations: 115 MB / 376 MB, free: 7.5 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 / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.991e-05, allocations: 2.969 kB / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.01587/0.0159, allocations: 16.93 MB / 498.9 MB, free: 388 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.03203, allocations: 10.89 MB / 0.4978 GB, free: 9.102 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.03501, allocations: 129 kB / 0.498 GB, free: 9.035 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.03929, allocations: 1.632 MB / 0.4996 GB, free: 8.398 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.04431, allocations: 2.228 MB / 0.5017 GB, free: 7.078 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005155/0.04946, allocations: 2.616 MB / 0.5043 GB, free: 5.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009228/0.05869, allocations: 8.422 MB / 0.5125 GB, free: 12.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.0608, allocations: 1.427 MB / 0.5139 GB, free: 11.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.06505, allocations: 2.886 MB / 0.5167 GB, free: 8.641 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.06672, allocations: 1.235 MB / 0.5179 GB, free: 7.402 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.06701, allocations: 172 kB / 0.5181 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.06901, allocations: 1.107 MB / 0.5192 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005248/0.06953, allocations: 0.6889 MB / 0.5199 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008825/0.07042, allocations: 0.7791 MB / 0.5206 GB, free: 4.652 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.07409, allocations: 2.421 MB / 0.523 GB, free: 2.223 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.0741, allocations: 4 kB / 0.523 GB, free: 2.219 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0741, allocations: 0 / 0.523 GB, free: 2.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.005e-05/0.07414, allocations: 0 / 0.523 GB, free: 2.219 MB / 442.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.003155/0.0773, allocations: 3.059 MB / 0.526 GB, free: 15.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.07733, allocations: 12.03 kB / 0.526 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.0798, allocations: 0.9349 MB / 0.5269 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.08246, allocations: 2.33 MB / 0.5292 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.08253, allocations: 98.16 kB / 0.5293 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.08267, allocations: 128 kB / 0.5294 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.08426, allocations: 1.313 MB / 0.5307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.08428, allocations: 0 / 0.5307 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.08436, allocations: 44 kB / 0.5307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.08439, allocations: 32 kB / 0.5307 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/0.08506, allocations: 0.5057 MB / 0.5312 GB, free: 9.43 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.006264/0.09133, allocations: 6.914 MB / 0.538 GB, free: 2.211 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.09227, allocations: 0.6133 MB / 0.5386 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.09254, allocations: 233.5 kB / 0.5388 GB, free: 1.359 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/0.09475, allocations: 1.97 MB / 0.5407 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/0.0952, allocations: 460.1 kB / 0.5412 GB, free: 14.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/0.0952, allocations: 0 / 0.5412 GB, free: 14.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.001136/0.09634, allocations: 0.7999 MB / 0.542 GB, free: 13.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.09637, allocations: 67.83 kB / 0.542 GB, free: 13.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.09777, allocations: 1.863 MB / 0.5438 GB, free: 12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.09783, allocations: 45.7 kB / 0.5439 GB, free: 11.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006821/0.09851, allocations: 1.234 MB / 0.5451 GB, free: 10.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.09866, allocations: 210.2 kB / 0.5453 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.09891, allocations: 248.3 kB / 0.5455 GB, free: 10.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.09908, allocations: 0.5159 MB / 0.546 GB, free: 9.723 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.09939, allocations: 242.5 kB / 0.5463 GB, free: 9.477 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.1001, allocations: 1.161 MB / 0.5474 GB, free: 7.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.1011, allocations: 1.074 MB / 0.5484 GB, free: 6.559 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1011, allocations: 4 kB / 0.5484 GB, free: 6.555 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001267/0.1024, allocations: 1.14 MB / 0.5496 GB, free: 5.395 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1024, allocations: 41.64 kB / 0.5496 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1024, allocations: 16 kB / 0.5496 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1025, allocations: 20 kB / 0.5496 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.1032, allocations: 331.6 kB / 0.5499 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.1032, allocations: 31.86 kB / 0.55 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.1039, allocations: 207 kB / 0.5502 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.104, allocations: 55.97 kB / 0.5502 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000512/0.1045, allocations: 379 kB / 0.5506 GB, free: 4.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009062/0.1054, allocations: 1.165 MB / 0.5517 GB, free: 2.773 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008045/0.1062, allocations: 1.07 MB / 0.5528 GB, free: 1.402 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/0.1062, allocations: 7.984 kB / 0.5528 GB, free: 1.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=136) (initialization_lambda0): time 0.001187/0.1074, allocations: 1.136 MB / 0.5539 GB, free: 244 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1075, allocations: 42.39 kB / 0.5539 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1075, allocations: 19.94 kB / 0.5539 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1075, allocations: 24 kB / 0.554 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.1082, allocations: 327.5 kB / 0.5543 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.1082, allocations: 31.86 kB / 0.5543 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/0.1089, allocations: 171.4 kB / 0.5545 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.1089, allocations: 59.97 kB / 0.5545 GB, free: 15.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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.0002186/0.1092, allocations: 351.5 kB / 0.5549 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.1094, allocations: 250.5 kB / 0.5551 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.1104, allocations: 0.8274 MB / 0.5559 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1104, allocations: 8 kB / 0.5559 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1104, allocations: 0 / 0.5559 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005909/0.111, allocations: 0.6218 MB / 0.5565 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1134, allocations: 1.903 MB / 0.5584 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1134, allocations: 8 kB / 0.5584 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.1139, allocations: 179.8 kB / 0.5586 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.114, allocations: 43.58 kB / 0.5586 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.1141, allocations: 23.97 kB / 0.5586 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006952/0.1148, allocations: 1.76 MB / 0.5604 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1148, allocations: 4 kB / 0.5604 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.1159, allocations: 1.085 MB / 0.5614 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.1163, allocations: 318.3 kB / 0.5617 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.1164, allocations: 23.98 kB / 0.5617 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.117, allocations: 91.91 kB / 0.5618 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.1171, allocations: 56.5 kB / 0.5619 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.1171, allocations: 31.95 kB / 0.5619 GB, free: 7.715 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000782/0.1179, allocations: 0.988 MB / 0.5629 GB, free: 6.715 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1179, allocations: 0 / 0.5629 GB, free: 6.715 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001693/0.1196, allocations: 0.9043 MB / 0.5638 GB, free: 5.809 MB / 490.7 MB 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 (65): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001062/0.1207, allocations: 0.4997 MB / 0.5643 GB, free: 5.453 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.1225, allocations: 1.254 MB / 0.5655 GB, free: 4.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1225, allocations: 320 / 0.5655 GB, free: 4.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.123, allocations: 482 kB / 0.5659 GB, free: 3.672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.1251, allocations: 1.038 MB / 0.5669 GB, free: 2.688 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.1288, allocations: 3.208 MB / 0.5701 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1291, allocations: 418.1 kB / 0.5705 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001343/0.1305, allocations: 480.3 kB / 0.5709 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/0.1319, allocations: 0.8764 MB / 0.5718 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.1319, allocations: 4 kB / 0.5718 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.05176/0.1837, allocations: 42.7 MB / 0.6135 GB, free: 3.812 MB / 0.5261 GB " [Timeout remaining time 660] 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: 4.389263395685703]