Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.901/4.901, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002433/0.002433, allocations: 362.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.143/4.143, allocations: 410.7 MB / 1.113 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001875/0.001875, allocations: 188.2 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007177/0.000718, allocations: 16 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7554, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.719/7.474, allocations: 2.317 GB / 3.779 GB, free: 85.95 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/7.475, allocations: 92.45 kB / 3.779 GB, free: 85.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.221/10.7, allocations: 0.5973 GB / 4.376 GB, free: 221.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.674e-06/10.7, allocations: 0 / 4.376 GB, free: 221.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001419/10.7, allocations: 38.33 kB / 4.376 GB, free: 221.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004775/10.7, allocations: 1.536 MB / 4.378 GB, free: 219.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/10.7, allocations: 11.62 kB / 4.378 GB, free: 219.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/10.71, allocations: 0.5789 MB / 4.378 GB, free: 219.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/10.71, allocations: 0.9387 MB / 4.379 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/10.71, allocations: 58 kB / 4.379 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/10.71, allocations: 83.98 kB / 4.379 GB, free: 218 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/10.71, allocations: 1.088 MB / 4.38 GB, free: 216.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/10.71, allocations: 7.938 kB / 4.38 GB, free: 216.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/10.71, allocations: 28 kB / 4.38 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/10.71, allocations: 16 kB / 4.38 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005347/10.72, allocations: 1.005 MB / 4.381 GB, free: 215.9 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/10.73, allocations: 4.985 MB / 4.386 GB, free: 210.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/10.73, allocations: 0.9575 MB / 4.387 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/10.74, allocations: 492.9 kB / 4.388 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/10.74, allocations: 1.594 MB / 4.389 GB, free: 207.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002798/10.74, allocations: 0.5819 MB / 4.39 GB, free: 206.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.098e-06/10.74, allocations: 0 / 4.39 GB, free: 206.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.008152/10.75, allocations: 1.514 MB / 4.391 GB, free: 205.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/10.75, allocations: 55.97 kB / 4.391 GB, free: 205.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/10.75, allocations: 1.125 MB / 4.392 GB, free: 204.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002475/10.75, allocations: 41.7 kB / 4.392 GB, free: 204 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/10.75, allocations: 0.5506 MB / 4.393 GB, free: 203.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/10.75, allocations: 221 kB / 4.393 GB, free: 203.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/10.75, allocations: 16 kB / 4.393 GB, free: 203.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/10.75, allocations: 334 kB / 4.394 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/10.75, allocations: 453.1 kB / 4.394 GB, free: 202.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/10.76, allocations: 0.7805 MB / 4.395 GB, free: 201.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/10.76, allocations: 0.4934 MB / 4.395 GB, free: 201.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/10.76, allocations: 7.938 kB / 4.395 GB, free: 201.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006088/10.77, allocations: 1.282 MB / 4.397 GB, free: 199.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/10.77, allocations: 11.98 kB / 4.397 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/10.77, allocations: 8 kB / 4.397 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/10.77, allocations: 19.83 kB / 4.397 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/10.77, allocations: 276.8 kB / 4.397 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.458e-05/10.77, allocations: 18.69 kB / 4.397 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/10.77, allocations: 211.2 kB / 4.397 GB, free: 199.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/10.77, allocations: 51.97 kB / 4.397 GB, free: 199.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008101/10.77, allocations: 291.8 kB / 4.397 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/10.77, allocations: 125.2 kB / 4.397 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006501/10.78, allocations: 1.429 MB / 4.399 GB, free: 197.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/10.78, allocations: 15.95 kB / 4.399 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/10.78, allocations: 0 / 4.399 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/10.78, allocations: 3.984 kB / 4.399 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008569/10.79, allocations: 2.488 MB / 4.401 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/10.79, allocations: 0 / 4.401 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/10.79, allocations: 195.8 kB / 4.402 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/10.79, allocations: 4 kB / 4.402 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/10.79, allocations: 27.97 kB / 4.402 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/10.79, allocations: 11.88 kB / 4.402 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/10.79, allocations: 0 / 4.402 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008745/10.8, allocations: 2.049 MB / 4.404 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008595/10.8, allocations: 311.2 kB / 4.404 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/10.8, allocations: 23.94 kB / 4.404 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/10.8, allocations: 131.9 kB / 4.404 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/10.8, allocations: 56.44 kB / 4.404 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/10.8, allocations: 31.98 kB / 4.404 GB, free: 192 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0014/10.8, allocations: 0.7719 MB / 4.405 GB, free: 191.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/10.8, allocations: 4 kB / 4.405 GB, free: 191.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00182/10.81, allocations: 391.6 kB / 4.405 GB, free: 190.9 MB / 0.948 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002126/10.81, allocations: 0.8103 MB / 4.406 GB, free: 190.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005567/10.81, allocations: 1.143 MB / 4.407 GB, free: 189.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/10.81, allocations: 0 / 4.407 GB, free: 189.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002714/10.82, allocations: 0.5997 MB / 4.408 GB, free: 188.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/10.82, allocations: 456.8 kB / 4.408 GB, free: 188.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007558/10.83, allocations: 2.757 MB / 4.411 GB, free: 185.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/10.83, allocations: 1.139 MB / 4.412 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001817/10.83, allocations: 259.2 kB / 4.412 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/10.83, allocations: 115.4 kB / 4.412 GB, free: 183.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/10.83, allocations: 0 / 4.412 GB, free: 183.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05284/10.88, allocations: 21.43 MB / 4.433 GB, free: 163.2 MB / 0.948 GB