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.001083/0.001083, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009923/0.0009923, allocations: 165 kB / 24.25 MB, free: 208 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.9371/0.9371, allocations: 177.2 MB / 204.7 MB, free: 5.453 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.8/1.8, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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 1.513e-06/1.513e-06, allocations: 0 / 0.7754 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.026e-05, allocations: 7.125 kB / 0.7754 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01003/0.01006, allocations: 13.46 MB / 0.7886 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007225/0.01729, allocations: 5.05 MB / 0.7935 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.01829, allocations: 91.19 kB / 0.7936 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000944/0.01924, allocations: 0.608 MB / 0.7942 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.02147, allocations: 1.565 MB / 0.7957 GB, free: 476 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.02367, allocations: 1.479 MB / 0.7971 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003061/0.02673, allocations: 3.761 MB / 0.8008 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.02781, allocations: 0.9471 MB / 0.8017 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.02965, allocations: 1.81 MB / 0.8035 GB, free: 8.426 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.03061, allocations: 0.9665 MB / 0.8045 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.03075, allocations: 108 kB / 0.8046 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.03137, allocations: 324.6 kB / 0.8049 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.03162, allocations: 422.1 kB / 0.8053 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.03206, allocations: 0.561 MB / 0.8058 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.03334, allocations: 1.406 MB / 0.8072 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.03335, allocations: 0 / 0.8072 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.453e-06/0.03335, allocations: 0.9375 kB / 0.8072 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.127e-05/0.03337, allocations: 0 / 0.8072 GB, free: 4.648 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.00187/0.03524, allocations: 1.959 MB / 0.8091 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.03528, allocations: 13.34 kB / 0.8091 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.03647, allocations: 0.5008 MB / 0.8096 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.03765, allocations: 1.009 MB / 0.8106 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.0377, allocations: 82.12 kB / 0.8107 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.03779, allocations: 108.6 kB / 0.8108 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.03889, allocations: 1.121 MB / 0.8119 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.03891, allocations: 4.719 kB / 0.8119 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/0.03897, allocations: 48 kB / 0.8119 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.03899, allocations: 32.58 kB / 0.8119 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.03949, allocations: 419 kB / 0.8123 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.04325, allocations: 5.333 MB / 0.8176 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.04399, allocations: 0.4964 MB / 0.818 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.04418, allocations: 173.5 kB / 0.8182 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.04438, allocations: 81.95 kB / 0.8183 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.04474, allocations: 341.1 kB / 0.8186 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.997e-06/0.04474, allocations: 2.219 kB / 0.8186 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85): time 0.0007117/0.04545, allocations: 0.5509 MB / 0.8191 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.04549, allocations: 60.41 kB / 0.8192 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.04617, allocations: 1.127 MB / 0.8203 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.04623, allocations: 49.69 kB / 0.8204 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.04657, allocations: 0.5711 MB / 0.8209 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.04673, allocations: 305.4 kB / 0.8212 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.04691, allocations: 218.7 kB / 0.8214 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.047, allocations: 353.8 kB / 0.8217 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.04718, allocations: 133.4 kB / 0.8219 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.04758, allocations: 0.7292 MB / 0.8226 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.04816, allocations: 0.7312 MB / 0.8233 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.04817, allocations: 4 kB / 0.8233 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007323/0.0489, allocations: 0.7053 MB / 0.824 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.04892, allocations: 12 kB / 0.824 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.04893, allocations: 12 kB / 0.824 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.04895, allocations: 16 kB / 0.824 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.04954, allocations: 311.5 kB / 0.8243 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.04955, allocations: 28.11 kB / 0.8244 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.05002, allocations: 155.1 kB / 0.8245 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.05009, allocations: 59.97 kB / 0.8246 GB, free: 1.988 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.0002293/0.05032, allocations: 198.2 kB / 0.8248 GB, free: 1.785 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.05044, allocations: 115.8 kB / 0.8249 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.05156, allocations: 0.9639 MB / 0.8258 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.05158, allocations: 19.98 kB / 0.8258 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.05158, allocations: 0 / 0.8258 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.05159, allocations: 7.984 kB / 0.8258 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.05354, allocations: 1.748 MB / 0.8275 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.05355, allocations: 4.031 kB / 0.8275 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.054, allocations: 199.7 kB / 0.8277 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.054, allocations: 4 kB / 0.8277 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.05405, allocations: 27.97 kB / 0.8278 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.05406, allocations: 15.88 kB / 0.8278 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.05406, allocations: 0 / 0.8278 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.05506, allocations: 1.003 MB / 0.8288 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.05532, allocations: 214.6 kB / 0.829 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.05542, allocations: 31.98 kB / 0.829 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.05574, allocations: 63.88 kB / 0.8291 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.05583, allocations: 76.86 kB / 0.8291 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.05588, allocations: 35.97 kB / 0.8292 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004056/0.05629, allocations: 0.57 MB / 0.8297 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.05629, allocations: 4 kB / 0.8297 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007572/0.05704, allocations: 431.2 kB / 0.8301 GB, free: 12.13 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.001415/0.05846, allocations: 0.589 MB / 0.8307 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006794/0.05914, allocations: 0.5895 MB / 0.8313 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/0.05916, allocations: 20.5 kB / 0.8313 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.0595, allocations: 317.7 kB / 0.8316 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.06074, allocations: 0.6016 MB / 0.8322 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.06361, allocations: 2.49 MB / 0.8346 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.06391, allocations: 302.4 kB / 0.8349 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006379/0.06455, allocations: 303.1 kB / 0.8352 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008922/0.06544, allocations: 0.5398 MB / 0.8357 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of SimCode: time 1.203e-06/0.06544, allocations: 4 kB / 0.8357 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of Templates: time 0.02926/0.0947, allocations: 27.6 MB / 0.8627 GB, free: 11.62 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.4192512864246964]