Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.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.001315/0.001315, allocations: 114.4 kB / 19.69 MB, free: 2.043 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.001411/0.001411, allocations: 185.9 kB / 22.98 MB, free: 4.957 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.315/1.315, allocations: 225.6 MB / 251.8 MB, free: 13 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.9094/0.9094, allocations: 149.6 MB / 456.6 MB, free: 1.195 MB / 350.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.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") translateModel(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 65.23 kB / 0.6329 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1715, allocations: 87.88 MB / 0.7187 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02638/0.1979, allocations: 23.62 MB / 0.7418 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007947/0.2058, allocations: 5.123 MB / 0.7468 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007033/0.2065, allocations: 35.69 kB / 0.7468 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.2073, allocations: 298 kB / 0.7471 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.2093, allocations: 0.8357 MB / 0.7479 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.211, allocations: 0.8007 MB / 0.7487 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.213, allocations: 1.659 MB / 0.7503 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005633/0.2136, allocations: 402.1 kB / 0.7507 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3227/0.5362, allocations: 0.7185 MB / 0.7514 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.537, allocations: 467.9 kB / 0.7518 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.5371, allocations: 48.28 kB / 0.7519 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.5383, allocations: 0.5033 MB / 0.7524 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.5385, allocations: 144.9 kB / 0.7525 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.5388, allocations: 312 kB / 0.7528 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5403, allocations: 0.9278 MB / 0.7537 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5403, allocations: 4.781 kB / 0.7537 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5403, allocations: 1.75 kB / 0.7537 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.5403, allocations: 0 / 0.7537 GB, free: 6.125 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001208/0.5415, allocations: 0.827 MB / 0.7545 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5415, allocations: 11.86 kB / 0.7545 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.5418, allocations: 68.84 kB / 0.7546 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000916/0.5427, allocations: 0.5069 MB / 0.7551 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.5427, allocations: 34.66 kB / 0.7551 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.5428, allocations: 39.12 kB / 0.7552 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.5434, allocations: 440.1 kB / 0.7556 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.5435, allocations: 1.875 kB / 0.7556 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.5435, allocations: 14.81 kB / 0.7556 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.5435, allocations: 16.91 kB / 0.7556 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.544, allocations: 303.4 kB / 0.7559 GB, free: 5.324 MB / 0.5606 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.002363/0.5464, allocations: 1.782 MB / 0.7576 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.5469, allocations: 243 kB / 0.7579 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.5471, allocations: 114 kB / 0.758 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.5476, allocations: 106.7 kB / 0.7581 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.5476, allocations: 36.66 kB / 0.7581 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.5476, allocations: 0 / 0.7581 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.0006745/0.5483, allocations: 379.8 kB / 0.7585 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.5483, allocations: 57.78 kB / 0.7585 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.5489, allocations: 474 kB / 0.759 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5489, allocations: 31.8 kB / 0.759 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.549, allocations: 275 kB / 0.7593 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.5491, allocations: 102 kB / 0.7594 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5492, allocations: 71.7 kB / 0.7594 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.5493, allocations: 357.9 kB / 0.7598 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.5494, allocations: 97.2 kB / 0.7599 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.5497, allocations: 170.9 kB / 0.76 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.55, allocations: 285.9 kB / 0.7603 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.55, allocations: 0 / 0.7603 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005505/0.5506, allocations: 365.8 kB / 0.7607 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5506, allocations: 5.812 kB / 0.7607 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5506, allocations: 2.547 kB / 0.7607 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5506, allocations: 4.406 kB / 0.7607 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.5509, allocations: 77.86 kB / 0.7608 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5509, allocations: 9.531 kB / 0.7608 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.5511, allocations: 33.92 kB / 0.7608 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.5512, allocations: 16.56 kB / 0.7608 GB, free: 3.375 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001643/0.5513, allocations: 179.5 kB / 0.761 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.5514, allocations: 52.33 kB / 0.761 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007737/0.5522, allocations: 488.7 kB / 0.7615 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5522, allocations: 11.56 kB / 0.7615 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5522, allocations: 2.812 kB / 0.7615 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005274/0.5528, allocations: 0.5747 MB / 0.7621 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.5544, allocations: 1.062 MB / 0.7631 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5544, allocations: 0.6875 kB / 0.7631 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.5546, allocations: 49.16 kB / 0.7632 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.5547, allocations: 3.219 kB / 0.7632 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.5547, allocations: 13.98 kB / 0.7632 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.5547, allocations: 7.812 kB / 0.7632 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5547, allocations: 0.9062 kB / 0.7632 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.5555, allocations: 0.6923 MB / 0.7639 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.5557, allocations: 100.4 kB / 0.764 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.5558, allocations: 7.516 kB / 0.764 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.556, allocations: 9.891 kB / 0.764 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5561, allocations: 25.11 kB / 0.764 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.5561, allocations: 22.3 kB / 0.764 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00039/0.5565, allocations: 352.5 kB / 0.7643 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5565, allocations: 3.938 kB / 0.7644 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007365/0.5572, allocations: 197.1 kB / 0.7645 GB, free: 2.102 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006237/0.5578, allocations: 295.1 kB / 0.7648 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.5584, allocations: 285.2 kB / 0.7651 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5584, allocations: 0.5625 kB / 0.7651 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.5587, allocations: 154.1 kB / 0.7652 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.56, allocations: 343.3 kB / 0.7656 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5614, allocations: 1.072 MB / 0.7666 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.5616, allocations: 0.8661 MB / 0.7675 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003471/0.562, allocations: 121.5 kB / 0.7676 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5621, allocations: 54.66 kB / 0.7676 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5621, allocations: 4 kB / 0.7676 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of Templates: time 0.0209/0.583, allocations: 12.56 MB / 0.7799 GB, free: 14.42 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.921089319512248] Failed to read output from testmodel.py, exit status != 0: 0.5917602106928825 0.603562264 0.06069103000000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f54847ad7b0>