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.001948/0.001948, allocations: 75.75 kB / 20.51 MB, free: 1.125 MB / 14.72 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.001649/0.001649, allocations: 167 kB / 23.76 MB, free: 4.195 MB / 14.72 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 1.435/1.435, allocations: 177.2 MB / 204.1 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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.925/0.925, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 73.08 kB / 0.5551 GB, free: 2.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1851, allocations: 89.14 MB / 0.6421 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05601/0.2411, allocations: 50.4 MB / 0.6913 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.4215/0.6625, allocations: 9.736 MB / 0.7009 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.6646, allocations: 97.59 kB / 0.7009 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.6671, allocations: 0.9132 MB / 0.7018 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006385/0.6735, allocations: 2.073 MB / 0.7039 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006623/0.6801, allocations: 2.017 MB / 0.7058 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008266/0.6884, allocations: 3.808 MB / 0.7096 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.6909, allocations: 0.977 MB / 0.7105 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005965/0.6969, allocations: 1.992 MB / 0.7125 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.7004, allocations: 1.198 MB / 0.7136 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003924/0.7008, allocations: 106.7 kB / 0.7137 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.7043, allocations: 1.04 MB / 0.7147 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.7048, allocations: 404.6 kB / 0.7151 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.7062, allocations: 0.6984 MB / 0.7158 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.711, allocations: 2.431 MB / 0.7182 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.711, allocations: 0 / 0.7182 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.711, allocations: 1.094 kB / 0.7182 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.92e-05/0.7111, allocations: 0 / 0.7182 GB, free: 4.148 MB / 0.5919 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.003883/0.715, allocations: 2.128 MB / 0.7203 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.715, allocations: 9.969 kB / 0.7203 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.7188, allocations: 0.6658 MB / 0.7209 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.7211, allocations: 1.085 MB / 0.722 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.7211, allocations: 86.08 kB / 0.7221 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.7213, allocations: 109.9 kB / 0.7222 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.7243, allocations: 1.503 MB / 0.7236 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.7244, allocations: 6.25 kB / 0.7236 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.7245, allocations: 47.38 kB / 0.7237 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.7245, allocations: 31.5 kB / 0.7237 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.7281, allocations: 1.237 MB / 0.7249 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008792/0.7369, allocations: 6.417 MB / 0.7312 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/0.7403, allocations: 1.059 MB / 0.7322 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.7418, allocations: 0.5301 MB / 0.7327 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009862/0.7428, allocations: 283.2 kB / 0.733 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.7447, allocations: 0.686 MB / 0.7337 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.827e-06/0.7447, allocations: 0 / 0.7337 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.005775/0.7504, allocations: 1.803 MB / 0.7354 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.7505, allocations: 65.61 kB / 0.7355 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.7528, allocations: 1.405 MB / 0.7369 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.7529, allocations: 43.52 kB / 0.7369 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007504/0.7537, allocations: 0.8143 MB / 0.7377 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.754, allocations: 314.6 kB / 0.738 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.7544, allocations: 225.9 kB / 0.7382 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.7546, allocations: 350.6 kB / 0.7386 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.7562, allocations: 0.525 MB / 0.7391 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.7583, allocations: 1.138 MB / 0.7402 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/0.762, allocations: 1.426 MB / 0.7416 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.7621, allocations: 3.656 kB / 0.7416 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00483/0.7669, allocations: 1.612 MB / 0.7432 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.7669, allocations: 15.34 kB / 0.7432 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.7669, allocations: 9.812 kB / 0.7432 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.06e-05/0.767, allocations: 19.34 kB / 0.7432 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.7684, allocations: 341.4 kB / 0.7435 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.7684, allocations: 27.52 kB / 0.7436 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.7702, allocations: 204.1 kB / 0.7437 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.7703, allocations: 67.97 kB / 0.7438 GB, free: 9.602 MB / 0.6075 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.000841/0.7712, allocations: 350.6 kB / 0.7441 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.7716, allocations: 173.5 kB / 0.7443 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/0.7769, allocations: 2.169 MB / 0.7464 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-05/0.7769, allocations: 21.27 kB / 0.7465 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.777, allocations: 0 / 0.7465 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.777, allocations: 10.72 kB / 0.7465 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/0.7843, allocations: 3.129 MB / 0.7495 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.7843, allocations: 4.062 kB / 0.7495 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.7855, allocations: 236.8 kB / 0.7497 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.7855, allocations: 7.844 kB / 0.7498 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.7856, allocations: 43.36 kB / 0.7498 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.7856, allocations: 5.281 kB / 0.7498 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.7856, allocations: 10.78 kB / 0.7498 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006485/0.7921, allocations: 2.802 MB / 0.7525 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008488/0.793, allocations: 304.8 kB / 0.7528 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7931, allocations: 40.2 kB / 0.7529 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7942, allocations: 117.2 kB / 0.753 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.7944, allocations: 79.17 kB / 0.7531 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.7945, allocations: 53.73 kB / 0.7531 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00137/0.7959, allocations: 0.9357 MB / 0.754 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7959, allocations: 0 / 0.754 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00199/0.7979, allocations: 0.5748 MB / 0.7546 GB, free: 3.777 MB / 0.6075 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.002542/0.8004, allocations: 0.8538 MB / 0.7554 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00403/0.8044, allocations: 1.456 MB / 0.7568 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8044, allocations: 192 / 0.7568 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.8065, allocations: 0.7867 MB / 0.7576 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/0.8095, allocations: 0.6038 MB / 0.7582 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.816, allocations: 3.217 MB / 0.7613 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.8168, allocations: 0.7306 MB / 0.7621 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001352/0.8181, allocations: 351.4 kB / 0.7624 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.8185, allocations: 156.3 kB / 0.7625 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of SimCode: time 7.52e-07/0.8185, allocations: 0 / 0.7625 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of Templates: time 0.05701/0.8755, allocations: 30.49 MB / 0.7923 GB, free: 15.32 MB / 0.6544 GB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.311558292945847] Failed to read output from testmodel.py, exit status != 0: 0.8850143259624019 0.900544537 0.186138184 Calling exit ...