Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0008116/0.0008116, allocations: 84.44 kB / 20.7 MB, free: 3.871 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.0008276/0.0008276, allocations: 169.9 kB / 23.97 MB, free: 0.5977 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.9726/0.9726, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.5311/0.5311, allocations: 114 MB / 374.7 MB, free: 8.703 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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5555 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.486e-05, allocations: 6.281 kB / 0.5555 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03246/0.03248, allocations: 49.95 MB / 0.6042 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.04413, allocations: 9.711 MB / 0.6137 GB, free: 6.391 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.04545, allocations: 91.19 kB / 0.6138 GB, free: 6.301 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.04699, allocations: 0.9161 MB / 0.6147 GB, free: 5.379 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.05058, allocations: 2.125 MB / 0.6168 GB, free: 3.242 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.05401, allocations: 2.105 MB / 0.6188 GB, free: 1.137 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.05749, allocations: 3.775 MB / 0.6225 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.05869, allocations: 0.9445 MB / 0.6234 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.06165, allocations: 2.429 MB / 0.6258 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.06281, allocations: 1.067 MB / 0.6269 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.06297, allocations: 104 kB / 0.627 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.06487, allocations: 1.052 MB / 0.628 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.06515, allocations: 422.1 kB / 0.6284 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.06561, allocations: 0.5571 MB / 0.6289 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.0679, allocations: 2.43 MB / 0.6313 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.0679, allocations: 0 / 0.6313 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.314e-06/0.0679, allocations: 0 / 0.6313 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.775e-05/0.06794, allocations: 0 / 0.6313 GB, free: 4.301 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002401/0.07034, allocations: 2.094 MB / 0.6334 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.07038, allocations: 8.625 kB / 0.6334 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.072, allocations: 0.666 MB / 0.634 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.07324, allocations: 1.06 MB / 0.635 GB, free: 380 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.07329, allocations: 90.08 kB / 0.6351 GB, free: 288 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.0734, allocations: 112 kB / 0.6352 GB, free: 176 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.07505, allocations: 1.504 MB / 0.6367 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.07507, allocations: 7.938 kB / 0.6367 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.07514, allocations: 52 kB / 0.6368 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.07516, allocations: 28 kB / 0.6368 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.07695, allocations: 1.229 MB / 0.638 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/0.08156, allocations: 6.399 MB / 0.6442 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.08332, allocations: 1.071 MB / 0.6453 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.08411, allocations: 0.5258 MB / 0.6458 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/0.08464, allocations: 282.2 kB / 0.6461 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009757/0.08562, allocations: 0.6761 MB / 0.6467 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=85): time 3.266e-06/0.08562, allocations: 0 / 0.6467 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85): time 0.002836/0.08846, allocations: 1.815 MB / 0.6485 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.0885, allocations: 64.41 kB / 0.6486 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.0896, allocations: 1.391 MB / 0.6499 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.08966, allocations: 41.7 kB / 0.65 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.09012, allocations: 0.8028 MB / 0.6507 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.09031, allocations: 313.4 kB / 0.651 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.09052, allocations: 218.8 kB / 0.6513 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.09064, allocations: 357.9 kB / 0.6516 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/0.09144, allocations: 0.5217 MB / 0.6521 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.09252, allocations: 1.137 MB / 0.6532 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.09428, allocations: 1.422 MB / 0.6546 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.09429, allocations: 4 kB / 0.6546 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002163/0.09645, allocations: 1.613 MB / 0.6562 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.09648, allocations: 12 kB / 0.6562 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.09649, allocations: 16.89 kB / 0.6562 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.09652, allocations: 16 kB / 0.6562 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.09719, allocations: 347.4 kB / 0.6566 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.09721, allocations: 23.92 kB / 0.6566 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.09786, allocations: 211 kB / 0.6568 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.09794, allocations: 71.89 kB / 0.6568 GB, free: 9.211 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0003792/0.09832, allocations: 331.5 kB / 0.6572 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.09846, allocations: 163 kB / 0.6573 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.1011, allocations: 2.174 MB / 0.6594 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.1012, allocations: 19.97 kB / 0.6595 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1012, allocations: 7.938 kB / 0.6595 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.1012, allocations: 3.984 kB / 0.6595 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.1048, allocations: 3.129 MB / 0.6625 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1048, allocations: 0 / 0.6625 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.1053, allocations: 235.8 kB / 0.6628 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.1053, allocations: 4 kB / 0.6628 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.1054, allocations: 47.89 kB / 0.6628 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1054, allocations: 11.94 kB / 0.6628 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1054, allocations: 4 kB / 0.6628 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/0.1088, allocations: 2.806 MB / 0.6656 GB, free: 212 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.1092, allocations: 310.5 kB / 0.6659 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.1093, allocations: 31.92 kB / 0.6659 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.1097, allocations: 115.9 kB / 0.666 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.1098, allocations: 76.86 kB / 0.6661 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.1099, allocations: 51.95 kB / 0.6661 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008058/0.1107, allocations: 0.9282 MB / 0.667 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1107, allocations: 0 / 0.667 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0012/0.1119, allocations: 0.569 MB / 0.6676 GB, free: 14.13 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.001283/0.1132, allocations: 0.8658 MB / 0.6684 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.1153, allocations: 1.457 MB / 0.6698 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1153, allocations: 0 / 0.6698 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.1163, allocations: 0.787 MB / 0.6706 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.1176, allocations: 0.5819 MB / 0.6712 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.121, allocations: 3.183 MB / 0.6743 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.1215, allocations: 0.7342 MB / 0.675 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.1218, allocations: 164.4 kB / 0.6752 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.1218, allocations: 0 / 0.6752 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of Templates: time 0.2537/0.3755, allocations: 28.18 MB / 0.7027 GB, free: 153.1 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.00404298119247] Failed to read output from testmodel.py, exit status != 0: 0.3819409105926752 0.39175781400000004 0.32179629800000004 Calling exit ...