Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.001108/0.001108, allocations: 84.44 kB / 20.7 MB, free: 3.859 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.001631/0.001631, allocations: 165.9 kB / 23.96 MB, free: 0.5938 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.9341/0.9341, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.5962/0.5962, allocations: 114 MB / 374.7 MB, free: 8.727 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5555 GB, free: 1.133 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.386e-05/4.601e-05, allocations: 4.109 kB / 0.5555 GB, free: 1.129 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.62/0.62, allocations: 214.2 MB / 0.7646 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.6329, allocations: 8.019 MB / 0.7725 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.6348, allocations: 90.88 kB / 0.7726 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.6369, allocations: 1.066 MB / 0.7736 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006336/0.6432, allocations: 3.288 MB / 0.7768 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006964/0.6502, allocations: 3.632 MB / 0.7804 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004535/0.6547, allocations: 3.99 MB / 0.7843 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.6558, allocations: 1.08 MB / 0.7853 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.6594, allocations: 2.824 MB / 0.7881 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.6606, allocations: 1.258 MB / 0.7893 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.6607, allocations: 136 kB / 0.7894 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005391/0.6661, allocations: 3.244 MB / 0.7926 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.6666, allocations: 0.6501 MB / 0.7932 GB, free: 128 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.6671, allocations: 0.6875 MB / 0.7939 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.6717, allocations: 3.91 MB / 0.7977 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.6717, allocations: 0 / 0.7977 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6717, allocations: 0 / 0.7977 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.6717, allocations: 0 / 0.7977 GB, free: 11.51 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00377/0.6755, allocations: 2.639 MB / 0.8003 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.6755, allocations: 12.62 kB / 0.8003 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.6796, allocations: 1.337 MB / 0.8016 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.6812, allocations: 1.158 MB / 0.8028 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.971e-05/0.6813, allocations: 94.59 kB / 0.8028 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.6814, allocations: 140 kB / 0.803 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.684, allocations: 2.086 MB / 0.805 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.684, allocations: 0 / 0.805 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6842, allocations: 52 kB / 0.8051 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.6842, allocations: 70.41 kB / 0.8051 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.6873, allocations: 2.191 MB / 0.8073 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/0.6933, allocations: 6.209 MB / 0.8133 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.6958, allocations: 1.81 MB / 0.8151 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.6971, allocations: 0.9366 MB / 0.816 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/0.6976, allocations: 212.8 kB / 0.8162 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.6991, allocations: 1.059 MB / 0.8173 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=119): time 4.017e-06/0.6991, allocations: 4 kB / 0.8173 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of matching and sorting (n=119): time 0.004424/0.7035, allocations: 2.884 MB / 0.8201 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.7036, allocations: 72.28 kB / 0.8201 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.7046, allocations: 1.363 MB / 0.8215 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.7047, allocations: 53.7 kB / 0.8215 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.7052, allocations: 0.831 MB / 0.8223 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.7055, allocations: 424.3 kB / 0.8227 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.7057, allocations: 242.9 kB / 0.823 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.7058, allocations: 357.9 kB / 0.8233 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.707, allocations: 0.8222 MB / 0.8241 GB, free: 36 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.7085, allocations: 1.376 MB / 0.8255 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.711, allocations: 1.942 MB / 0.8274 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.711, allocations: 0 / 0.8274 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003081/0.7141, allocations: 2.179 MB / 0.8295 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.7141, allocations: 11.94 kB / 0.8295 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.7141, allocations: 8 kB / 0.8295 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.7141, allocations: 12 kB / 0.8295 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.7151, allocations: 425.1 kB / 0.8299 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.7151, allocations: 23.92 kB / 0.8299 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.716, allocations: 251 kB / 0.8302 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.7161, allocations: 59.97 kB / 0.8302 GB, free: 9.473 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0004807/0.7165, allocations: 396.3 kB / 0.8306 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.7167, allocations: 174.9 kB / 0.8308 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.7197, allocations: 2.193 MB / 0.8329 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.7197, allocations: 12 kB / 0.8329 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7198, allocations: 3.938 kB / 0.8329 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.7198, allocations: 7.969 kB / 0.8329 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.7249, allocations: 4.168 MB / 0.837 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7249, allocations: 4 kB / 0.837 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.7258, allocations: 343.4 kB / 0.8373 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.7258, allocations: 12 kB / 0.8374 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/0.7259, allocations: 47.95 kB / 0.8374 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.7259, allocations: 15.94 kB / 0.8374 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7259, allocations: 8 kB / 0.8374 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.7302, allocations: 3.484 MB / 0.8408 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.7306, allocations: 314.5 kB / 0.8411 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.7308, allocations: 32 kB / 0.8412 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.7314, allocations: 163.8 kB / 0.8413 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.7316, allocations: 104.7 kB / 0.8414 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.7317, allocations: 51.97 kB / 0.8415 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007516/0.7324, allocations: 0.9315 MB / 0.8424 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.7324, allocations: 0 / 0.8424 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009599/0.7334, allocations: 0.5108 MB / 0.8429 GB, free: 12.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001186/0.7346, allocations: 0.6052 MB / 0.8435 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002748/0.7373, allocations: 1.923 MB / 0.8453 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7373, allocations: 0 / 0.8453 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.7386, allocations: 0.9869 MB / 0.8463 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.7403, allocations: 0.6811 MB / 0.847 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.7465, allocations: 4.201 MB / 0.8511 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.747, allocations: 0.8024 MB / 0.8519 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.7475, allocations: 160.4 kB / 0.852 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.7475, allocations: 0 / 0.852 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of Templates: time 0.02331/0.7708, allocations: 28.28 MB / 0.8796 GB, free: 6.996 MB / 0.7136 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.744786318391562] Failed to read output from testmodel.py, exit status != 0: 0.7785292658954859 0.784832604 0.111154969 Calling exit ...