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.0009201/0.0009201, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001005/0.001005, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.987/0.987, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.939/1.939, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.745e-06/2.745e-06, allocations: 0 / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.381e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01417/0.0142, allocations: 13.42 MB / 0.7883 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007222/0.02142, allocations: 5.066 MB / 0.7932 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007807/0.0222, allocations: 95.12 kB / 0.7933 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000888/0.02309, allocations: 0.6118 MB / 0.7939 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.02554, allocations: 1.561 MB / 0.7955 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.02792, allocations: 1.502 MB / 0.7969 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002521/0.03044, allocations: 3.758 MB / 0.8006 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.03157, allocations: 1.003 MB / 0.8016 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.03305, allocations: 1.857 MB / 0.8034 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008073/0.03386, allocations: 0.9618 MB / 0.8043 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.03398, allocations: 109.2 kB / 0.8044 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.03445, allocations: 323.5 kB / 0.8047 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.03471, allocations: 410.2 kB / 0.8051 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.03512, allocations: 0.5618 MB / 0.8057 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.03623, allocations: 1.409 MB / 0.8071 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.03624, allocations: 0.9375 kB / 0.8071 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.533e-06/0.03624, allocations: 0 / 0.8071 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.03625, allocations: 0 / 0.8071 GB, free: 4.699 MB / 0.7605 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.002117/0.03837, allocations: 1.959 MB / 0.809 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.0384, allocations: 11.06 kB / 0.809 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.03959, allocations: 0.507 MB / 0.8095 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.04067, allocations: 0.9975 MB / 0.8105 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.04071, allocations: 83.14 kB / 0.8105 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.04082, allocations: 115.9 kB / 0.8106 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.04189, allocations: 1.117 MB / 0.8117 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.04192, allocations: 4.938 kB / 0.8117 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/0.04202, allocations: 55.92 kB / 0.8118 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.04204, allocations: 28.91 kB / 0.8118 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.04256, allocations: 415.1 kB / 0.8122 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/0.04652, allocations: 5.345 MB / 0.8174 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.04728, allocations: 499.4 kB / 0.8179 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.04748, allocations: 170.5 kB / 0.8181 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.04768, allocations: 86.45 kB / 0.8182 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.04803, allocations: 341.7 kB / 0.8185 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 2.645e-06/0.04804, allocations: 0 / 0.8185 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85): time 0.0007248/0.04876, allocations: 0.5485 MB / 0.819 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.04879, allocations: 60.41 kB / 0.8191 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.04949, allocations: 1.123 MB / 0.8202 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.04955, allocations: 49.7 kB / 0.8202 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.04981, allocations: 0.572 MB / 0.8208 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.04997, allocations: 305.4 kB / 0.8211 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.05017, allocations: 214.7 kB / 0.8213 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.05026, allocations: 358.3 kB / 0.8216 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.05046, allocations: 142.5 kB / 0.8217 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007187/0.05118, allocations: 0.7291 MB / 0.8225 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/0.05178, allocations: 0.7221 MB / 0.8232 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.05178, allocations: 8 kB / 0.8232 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007292/0.05251, allocations: 0.7087 MB / 0.8239 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.05253, allocations: 8 kB / 0.8239 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.05254, allocations: 12 kB / 0.8239 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.05256, allocations: 16.72 kB / 0.8239 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.05312, allocations: 291.5 kB / 0.8242 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.05314, allocations: 27.88 kB / 0.8242 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.05358, allocations: 163.1 kB / 0.8244 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/0.05365, allocations: 51.95 kB / 0.8244 GB, free: 2.07 MB / 0.7761 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.0002434/0.0539, allocations: 194.3 kB / 0.8246 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.05403, allocations: 115.8 kB / 0.8247 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.05519, allocations: 0.9756 MB / 0.8257 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.0552, allocations: 15.98 kB / 0.8257 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.0552, allocations: 0 / 0.8257 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.05521, allocations: 7.969 kB / 0.8257 GB, free: 0.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.05706, allocations: 1.748 MB / 0.8274 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.05707, allocations: 3.984 kB / 0.8274 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.0575, allocations: 171.9 kB / 0.8276 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.0575, allocations: 8 kB / 0.8276 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.05755, allocations: 39.95 kB / 0.8276 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.05756, allocations: 7.938 kB / 0.8276 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.05756, allocations: 7.938 kB / 0.8276 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.0586, allocations: 0.9909 MB / 0.8286 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.05885, allocations: 222.5 kB / 0.8288 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.05894, allocations: 20 kB / 0.8288 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.05956, allocations: 71.88 kB / 0.8289 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.05964, allocations: 84.78 kB / 0.829 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.05969, allocations: 31.97 kB / 0.829 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003944/0.06008, allocations: 0.57 MB / 0.8296 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.06008, allocations: 0 / 0.8296 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006905/0.06077, allocations: 431.2 kB / 0.83 GB, free: 12.23 MB / 0.7917 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.00131/0.06208, allocations: 0.5926 MB / 0.8305 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000624/0.06271, allocations: 0.5897 MB / 0.8311 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.06272, allocations: 16.5 kB / 0.8311 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.06305, allocations: 317.3 kB / 0.8314 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.06425, allocations: 0.6017 MB / 0.832 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.06676, allocations: 2.483 MB / 0.8344 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.06695, allocations: 302.4 kB / 0.8347 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005639/0.06751, allocations: 303.1 kB / 0.835 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000856/0.06837, allocations: 0.5399 MB / 0.8356 GB, free: 6.633 MB / 0.7917 GB Notification: Performance of SimCode: time 6.31e-07/0.06837, allocations: 0 / 0.8356 GB, free: 6.633 MB / 0.7917 GB Notification: Performance of Templates: time 0.03027/0.09864, allocations: 27.57 MB / 0.8625 GB, free: 11.76 MB / 0.823 GB " [Timeout remaining time 300] 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: 5.588704389054328]