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.001116/0.001116, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001323/0.001323, allocations: 164.4 kB / 25.05 MB, free: 9.148 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.9472/0.9472, allocations: 177.1 MB / 205.5 MB, free: 5.449 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.875/1.875, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.322e-06/1.322e-06, allocations: 0 / 0.7762 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.175e-05, allocations: 5.266 kB / 0.7762 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.009781/0.009803, allocations: 13.46 MB / 0.7893 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007866/0.01767, allocations: 5.049 MB / 0.7943 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.01869, allocations: 91.19 kB / 0.7943 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009364/0.01963, allocations: 0.6074 MB / 0.7949 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.02181, allocations: 1.557 MB / 0.7965 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.02399, allocations: 1.483 MB / 0.7979 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.02719, allocations: 3.756 MB / 0.8016 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009982/0.02819, allocations: 0.9486 MB / 0.8025 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.02984, allocations: 1.821 MB / 0.8043 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.03061, allocations: 0.9632 MB / 0.8052 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.03072, allocations: 108 kB / 0.8053 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.03129, allocations: 327.5 kB / 0.8056 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.03152, allocations: 411.2 kB / 0.806 GB, free: 6.672 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.03191, allocations: 0.5688 MB / 0.8066 GB, free: 6.102 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.03313, allocations: 1.405 MB / 0.808 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.03314, allocations: 0.7812 kB / 0.808 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.022e-06/0.03314, allocations: 0 / 0.808 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.03315, allocations: 1.875 kB / 0.808 GB, free: 4.691 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.0017/0.03485, allocations: 1.959 MB / 0.8099 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.03488, allocations: 9.344 kB / 0.8099 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.03605, allocations: 0.5042 MB / 0.8104 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.03712, allocations: 1.013 MB / 0.8114 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.03717, allocations: 82.14 kB / 0.8114 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.03727, allocations: 108.8 kB / 0.8115 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.03835, allocations: 1.118 MB / 0.8126 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.03837, allocations: 7.938 kB / 0.8126 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.03842, allocations: 45.59 kB / 0.8127 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.03844, allocations: 28 kB / 0.8127 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.03892, allocations: 422.7 kB / 0.8131 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.04271, allocations: 5.341 MB / 0.8183 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.04346, allocations: 491.5 kB / 0.8188 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.04365, allocations: 178.5 kB / 0.819 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.04386, allocations: 81.02 kB / 0.819 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.04421, allocations: 349.5 kB / 0.8194 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=85): time 3.316e-06/0.04422, allocations: 0 / 0.8194 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85): time 0.0007343/0.04495, allocations: 0.5483 MB / 0.8199 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.04499, allocations: 61.5 kB / 0.82 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.0457, allocations: 1.127 MB / 0.8211 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.04575, allocations: 46.36 kB / 0.8211 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.04616, allocations: 0.575 MB / 0.8217 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.04631, allocations: 301.9 kB / 0.822 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.04649, allocations: 215.8 kB / 0.8222 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.04658, allocations: 361.8 kB / 0.8225 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.04676, allocations: 138.5 kB / 0.8227 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.04716, allocations: 0.7321 MB / 0.8234 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.04773, allocations: 0.7287 MB / 0.8241 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.04773, allocations: 0 / 0.8241 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007589/0.04849, allocations: 0.7054 MB / 0.8248 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.04851, allocations: 16.02 kB / 0.8248 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.04853, allocations: 12 kB / 0.8248 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.04854, allocations: 16 kB / 0.8248 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.04913, allocations: 311.5 kB / 0.8251 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.04914, allocations: 23.94 kB / 0.8251 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.04962, allocations: 163.1 kB / 0.8253 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.04969, allocations: 51.95 kB / 0.8253 GB, free: 2.023 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.0002153/0.04991, allocations: 198.2 kB / 0.8255 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.05002, allocations: 115.8 kB / 0.8256 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.05107, allocations: 0.964 MB / 0.8266 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.05109, allocations: 15.98 kB / 0.8266 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.05109, allocations: 0 / 0.8266 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.0511, allocations: 11.97 kB / 0.8266 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.05307, allocations: 1.74 MB / 0.8283 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.05307, allocations: 4 kB / 0.8283 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.05351, allocations: 199.9 kB / 0.8285 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.05351, allocations: 8 kB / 0.8285 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.05355, allocations: 27.97 kB / 0.8285 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.05356, allocations: 7.938 kB / 0.8285 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.05356, allocations: 4 kB / 0.8285 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.05483, allocations: 0.9947 MB / 0.8295 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.05514, allocations: 218.6 kB / 0.8297 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.05528, allocations: 27.98 kB / 0.8297 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.05584, allocations: 71.88 kB / 0.8298 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.05596, allocations: 72.86 kB / 0.8299 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.05605, allocations: 35.97 kB / 0.8299 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000604/0.05665, allocations: 0.57 MB / 0.8305 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.05665, allocations: 3.938 kB / 0.8305 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001181/0.05783, allocations: 439.2 kB / 0.8309 GB, free: 12.17 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.002279/0.06011, allocations: 0.5862 MB / 0.8315 GB, free: 11.81 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.06143, allocations: 0.5936 MB / 0.8321 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-05/0.06146, allocations: 16.5 kB / 0.8321 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.06197, allocations: 316.9 kB / 0.8324 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.06409, allocations: 0.6151 MB / 0.833 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.06858, allocations: 2.487 MB / 0.8354 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.06886, allocations: 298.4 kB / 0.8357 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001011/0.06987, allocations: 303.1 kB / 0.836 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.07116, allocations: 0.5398 MB / 0.8365 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of SimCode: time 1.272e-06/0.07116, allocations: 0 / 0.8365 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of Templates: time 0.04077/0.1119, allocations: 27.59 MB / 0.8634 GB, free: 11.67 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.503093048930168]