Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001894/0.001894, allocations: 80.52 kB / 19.95 MB, free: 4.605 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.002001/0.002001, allocations: 173.2 kB / 23.24 MB, free: 1.328 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 1.632/1.632, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.205/3.205, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.308e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.7482/0.7482, allocations: 49.95 MB / 1.05 GB, free: 44.5 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.7631, allocations: 9.721 MB / 1.059 GB, free: 44.34 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.7661, allocations: 89.75 kB / 1.06 GB, free: 44.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.7685, allocations: 0.9221 MB / 1.06 GB, free: 44.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005991/0.7744, allocations: 2.118 MB / 1.062 GB, free: 43.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005723/0.7802, allocations: 2.12 MB / 1.065 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005755/0.7859, allocations: 3.768 MB / 1.068 GB, free: 42.45 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.788, allocations: 0.9481 MB / 1.069 GB, free: 42.08 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/0.7935, allocations: 2.421 MB / 1.072 GB, free: 41.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.7956, allocations: 1.058 MB / 1.073 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.7959, allocations: 110.9 kB / 1.073 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.7991, allocations: 1.059 MB / 1.074 GB, free: 40.77 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.7995, allocations: 414.7 kB / 1.074 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009886/0.8005, allocations: 0.569 MB / 1.075 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.8051, allocations: 2.426 MB / 1.077 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.8051, allocations: 0 / 1.077 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8051, allocations: 0 / 1.077 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.089e-05/0.8051, allocations: 0 / 1.077 GB, free: 39.66 MB / 0.9948 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.003694/0.8088, allocations: 2.095 MB / 1.079 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8088, allocations: 13.78 kB / 1.079 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/0.8121, allocations: 0.6625 MB / 1.08 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.8142, allocations: 1.054 MB / 1.081 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.8142, allocations: 90.33 kB / 1.081 GB, free: 37.61 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.8144, allocations: 112.1 kB / 1.081 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.8172, allocations: 1.507 MB / 1.082 GB, free: 36.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.8172, allocations: 9.312 kB / 1.082 GB, free: 36.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.8173, allocations: 43.12 kB / 1.082 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.8173, allocations: 27.91 kB / 1.082 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/0.8211, allocations: 1.237 MB / 1.084 GB, free: 36.45 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008434/0.8295, allocations: 6.391 MB / 1.09 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.833, allocations: 1.064 MB / 1.091 GB, free: 31.51 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.8346, allocations: 0.5321 MB / 1.091 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.8356, allocations: 282.3 kB / 1.092 GB, free: 31.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/0.8376, allocations: 0.6791 MB / 1.092 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 3.306e-06/0.8376, allocations: 0 / 1.092 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.00599/0.8436, allocations: 1.804 MB / 1.094 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.8436, allocations: 61.3 kB / 1.094 GB, free: 30.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/0.8461, allocations: 1.392 MB / 1.096 GB, free: 30 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.8463, allocations: 44.2 kB / 1.096 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/0.8469, allocations: 0.8069 MB / 1.096 GB, free: 29.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.8472, allocations: 309.4 kB / 1.097 GB, free: 29.08 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.8476, allocations: 224 kB / 1.097 GB, free: 28.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8477, allocations: 345.5 kB / 1.097 GB, free: 28.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.8494, allocations: 0.5345 MB / 1.098 GB, free: 28.52 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.8514, allocations: 1.133 MB / 1.099 GB, free: 27.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.8549, allocations: 1.423 MB / 1.1 GB, free: 26.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.8549, allocations: 11.47 kB / 1.1 GB, free: 26.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00489/0.8598, allocations: 1.608 MB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.8599, allocations: 10.44 kB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.8599, allocations: 11.88 kB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/0.8599, allocations: 22.03 kB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.8615, allocations: 344.9 kB / 1.102 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-05/0.8615, allocations: 22.61 kB / 1.102 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.8633, allocations: 207.8 kB / 1.102 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.8635, allocations: 67.78 kB / 1.103 GB, free: 26.3 MB / 0.9948 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.0007564/0.8643, allocations: 352.8 kB / 1.103 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.8647, allocations: 164.9 kB / 1.103 GB, free: 26 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/0.8701, allocations: 2.159 MB / 1.105 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/0.8702, allocations: 21.41 kB / 1.105 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.8702, allocations: 4.75 kB / 1.105 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.8702, allocations: 5.438 kB / 1.105 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007349/0.8776, allocations: 3.13 MB / 1.108 GB, free: 24.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.8776, allocations: 1.188 kB / 1.108 GB, free: 24.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.8788, allocations: 237.9 kB / 1.108 GB, free: 24.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.8788, allocations: 10.25 kB / 1.108 GB, free: 24.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.8789, allocations: 36.22 kB / 1.108 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.8789, allocations: 5.438 kB / 1.108 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.879, allocations: 2.125 kB / 1.109 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/0.8859, allocations: 2.812 MB / 1.111 GB, free: 23.01 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/0.8868, allocations: 307.4 kB / 1.112 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.887, allocations: 25.25 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.888, allocations: 117.5 kB / 1.112 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.8882, allocations: 91.28 kB / 1.112 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.8884, allocations: 54.25 kB / 1.112 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001474/0.8898, allocations: 0.9274 MB / 1.113 GB, free: 22.44 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8898, allocations: 0 / 1.113 GB, free: 22.44 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002213/0.8921, allocations: 0.5629 MB / 1.113 GB, free: 22.3 MB / 0.9948 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.003901/0.896, allocations: 0.8699 MB / 1.114 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00452/0.9005, allocations: 1.453 MB / 1.116 GB, free: 21.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.9005, allocations: 0.875 kB / 1.116 GB, free: 21.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.9027, allocations: 0.784 MB / 1.116 GB, free: 21.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.9057, allocations: 0.5729 MB / 1.117 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/0.9121, allocations: 3.128 MB / 1.12 GB, free: 19.69 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009633/0.9131, allocations: 0.7281 MB / 1.121 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001624/0.9147, allocations: 349.8 kB / 1.121 GB, free: 19.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.9152, allocations: 156.5 kB / 1.121 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of SimCode: time 1.132e-06/0.9152, allocations: 0 / 1.121 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of Templates: time 0.05458/0.9698, allocations: 29.94 MB / 1.15 GB, free: 10.24 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.835833164863288]