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.001583/0.001583, allocations: 115.1 kB / 19.7 MB, free: 2.203 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.001924/0.001924, allocations: 219.2 kB / 23 MB, free: 5.074 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.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 1.01/1.01, allocations: 150 MB / 463.1 MB, free: 10.57 MB / 366.1 MB " [Timeout remaining time 178] 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.002221/0.002221, allocations: 62.75 kB / 0.6418 GB, free: 9.984 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1895, allocations: 89.18 MB / 0.7288 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5241/0.7136, allocations: 55.78 MB / 0.7833 GB, free: 6.379 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.7309, allocations: 10.51 MB / 0.7936 GB, free: 1.703 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.7345, allocations: 95.25 kB / 0.7937 GB, free: 1.648 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.7377, allocations: 0.9122 MB / 0.7946 GB, free: 1.316 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.008323/0.7461, allocations: 2.086 MB / 0.7966 GB, free: 436 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.008/0.7541, allocations: 2.081 MB / 0.7986 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00833/0.7624, allocations: 3.825 MB / 0.8024 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.7648, allocations: 0.9952 MB / 0.8033 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005853/0.7707, allocations: 1.98 MB / 0.8053 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.7741, allocations: 1.265 MB / 0.8065 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.7746, allocations: 105.6 kB / 0.8066 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005112/0.7797, allocations: 1.378 MB / 0.808 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000651/0.7803, allocations: 408 kB / 0.8083 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.7824, allocations: 0.8534 MB / 0.8092 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007862/0.7903, allocations: 2.475 MB / 0.8116 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.7903, allocations: 0 / 0.8116 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.816e-06/0.7903, allocations: 5.062 kB / 0.8116 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.656e-05/0.7903, allocations: 0 / 0.8116 GB, free: 9.273 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.005411/0.7957, allocations: 2.137 MB / 0.8137 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.7958, allocations: 8.75 kB / 0.8137 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00406/0.7999, allocations: 0.6666 MB / 0.8143 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.8031, allocations: 1.106 MB / 0.8154 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.8032, allocations: 79.83 kB / 0.8155 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.8034, allocations: 109.7 kB / 0.8156 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.807, allocations: 1.49 MB / 0.8171 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.807, allocations: 6.188 kB / 0.8171 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.8071, allocations: 53.77 kB / 0.8171 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.8072, allocations: 29.03 kB / 0.8171 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.8111, allocations: 1.23 MB / 0.8183 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.8237, allocations: 8.318 MB / 0.8265 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.8271, allocations: 1.044 MB / 0.8275 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.8287, allocations: 0.5298 MB / 0.828 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.8299, allocations: 295.1 kB / 0.8283 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001899/0.8318, allocations: 0.6681 MB / 0.8289 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.995e-06/0.8318, allocations: 1.125 kB / 0.8289 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.005655/0.8374, allocations: 1.802 MB / 0.8307 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.8375, allocations: 60.44 kB / 0.8308 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/0.8402, allocations: 1.523 MB / 0.8322 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.8403, allocations: 43.2 kB / 0.8323 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008975/0.8412, allocations: 0.8076 MB / 0.8331 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.8416, allocations: 312.3 kB / 0.8334 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004188/0.842, allocations: 236 kB / 0.8336 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.8422, allocations: 344.8 kB / 0.8339 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.8438, allocations: 0.5181 MB / 0.8344 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.8459, allocations: 0.8955 MB / 0.8353 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.8494, allocations: 1.416 MB / 0.8367 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.8494, allocations: 2.562 kB / 0.8367 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004673/0.8541, allocations: 1.621 MB / 0.8383 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.8541, allocations: 12.53 kB / 0.8383 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.8542, allocations: 9.938 kB / 0.8383 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/0.8542, allocations: 18.38 kB / 0.8383 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.8556, allocations: 344.7 kB / 0.8386 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.286e-05/0.8556, allocations: 30.11 kB / 0.8387 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/0.8576, allocations: 230.8 kB / 0.8389 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.8578, allocations: 68.98 kB / 0.839 GB, free: 5.488 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.0008961/0.8587, allocations: 340.6 kB / 0.8393 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.8593, allocations: 174.9 kB / 0.8394 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/0.865, allocations: 2.165 MB / 0.8416 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.897e-05/0.865, allocations: 19.98 kB / 0.8416 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.865, allocations: 3.938 kB / 0.8416 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.865, allocations: 3.984 kB / 0.8416 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008549/0.8736, allocations: 3.356 MB / 0.8449 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.8736, allocations: 3.984 kB / 0.8449 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.8748, allocations: 227.7 kB / 0.8451 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.619e-05/0.8748, allocations: 8 kB / 0.8451 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.875, allocations: 43.77 kB / 0.8451 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.875, allocations: 7.938 kB / 0.8451 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.875, allocations: 8 kB / 0.8452 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007086/0.8821, allocations: 2.784 MB / 0.8479 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.8833, allocations: 330.1 kB / 0.8482 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/0.8838, allocations: 20 kB / 0.8482 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.8853, allocations: 119.9 kB / 0.8483 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.8855, allocations: 80.84 kB / 0.8484 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.8856, allocations: 47.91 kB / 0.8484 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00209/0.8877, allocations: 1.031 MB / 0.8494 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8877, allocations: 0 / 0.8494 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002748/0.8905, allocations: 0.5535 MB / 0.85 GB, free: 10.15 MB / 0.6231 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 (113): * Single equations (assignments): 82 * 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.002948/0.8934, allocations: 0.8321 MB / 0.8508 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004412/0.8978, allocations: 1.422 MB / 0.8522 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.8978, allocations: 8.188 kB / 0.8522 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.9, allocations: 0.7674 MB / 0.8529 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/0.9044, allocations: 0.7441 MB / 0.8537 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/0.9123, allocations: 3.217 MB / 0.8568 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.9138, allocations: 1.313 MB / 0.8581 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001882/0.9157, allocations: 377 kB / 0.8585 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.9163, allocations: 167.3 kB / 0.8586 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of SimCode: time 1.492e-06/0.9163, allocations: 0 / 0.8586 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.0654/0.9817, allocations: 33.57 MB / 0.8914 GB, free: 252 kB / 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.977844979148358] Failed to read output from testmodel.py, exit status != 0: 0.9916755668818951 1.006496468 0.212501036 Calling exit ...