Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.753/1.753, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 186.9 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008779, allocations: 95.98 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004536, allocations: 17.56 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.644/0.6445, allocations: 120.3 MB / 1.026 GB, free: 55.99 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.2/4.845, allocations: 1.866 GB / 2.892 GB, free: 297 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/4.845, allocations: 90.28 kB / 2.892 GB, free: 297 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.865/6.711, allocations: 0.6854 GB / 3.578 GB, free: 39.76 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.006e-06/6.711, allocations: 3.938 kB / 3.578 GB, free: 39.76 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002148/6.711, allocations: 47.92 kB / 3.578 GB, free: 39.71 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007952/6.719, allocations: 1.938 MB / 3.58 GB, free: 37.71 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/6.719, allocations: 8.031 kB / 3.58 GB, free: 37.71 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/6.724, allocations: 0.8848 MB / 3.58 GB, free: 36.82 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/6.728, allocations: 1.161 MB / 3.582 GB, free: 35.61 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/6.728, allocations: 70.38 kB / 3.582 GB, free: 35.54 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/6.729, allocations: 96.28 kB / 3.582 GB, free: 35.44 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/6.733, allocations: 1.552 MB / 3.583 GB, free: 33.86 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/6.733, allocations: 3.938 kB / 3.583 GB, free: 33.86 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/6.733, allocations: 32 kB / 3.583 GB, free: 33.82 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/6.733, allocations: 49.98 kB / 3.583 GB, free: 33.77 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/6.737, allocations: 1.799 MB / 3.585 GB, free: 31.97 MB / 0.9792 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.008655/6.746, allocations: 4.789 MB / 3.59 GB, free: 26.97 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/6.75, allocations: 1.58 MB / 3.591 GB, free: 25.38 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/6.752, allocations: 0.8352 MB / 3.592 GB, free: 24.54 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/6.753, allocations: 0.9335 MB / 3.593 GB, free: 23.42 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002126/6.755, allocations: 0.9104 MB / 3.594 GB, free: 22.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=95): time 5.37e-06/6.755, allocations: 4 kB / 3.594 GB, free: 22.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95): time 0.006796/6.762, allocations: 2.423 MB / 3.596 GB, free: 20.07 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/6.762, allocations: 64.41 kB / 3.596 GB, free: 19.99 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/6.764, allocations: 1.209 MB / 3.598 GB, free: 18.77 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/6.764, allocations: 53.64 kB / 3.598 GB, free: 18.71 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/6.765, allocations: 0.5489 MB / 3.598 GB, free: 18.16 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/6.765, allocations: 331.3 kB / 3.598 GB, free: 17.83 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/6.765, allocations: 20 kB / 3.598 GB, free: 17.81 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/6.765, allocations: 341.9 kB / 3.599 GB, free: 17.47 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/6.767, allocations: 0.6928 MB / 3.599 GB, free: 16.78 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/6.769, allocations: 0.9665 MB / 3.6 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/6.772, allocations: 1.542 MB / 3.602 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/6.772, allocations: 4 kB / 3.602 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004394/6.777, allocations: 1.768 MB / 3.604 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/6.777, allocations: 4 kB / 3.604 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/6.777, allocations: 4 kB / 3.604 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/6.777, allocations: 12 kB / 3.604 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/6.778, allocations: 339.8 kB / 3.604 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/6.779, allocations: 15.92 kB / 3.604 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/6.78, allocations: 270.5 kB / 3.604 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/6.781, allocations: 51.97 kB / 3.604 GB, free: 11.65 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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/6.781, allocations: 331.8 kB / 3.605 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/6.782, allocations: 138.3 kB / 3.605 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/6.786, allocations: 1.835 MB / 3.607 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/6.786, allocations: 12 kB / 3.607 GB, free: 9.328 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/6.786, allocations: 3.984 kB / 3.607 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/6.786, allocations: 7.922 kB / 3.607 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007154/6.794, allocations: 3.42 MB / 3.61 GB, free: 5.789 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/6.794, allocations: 4 kB / 3.61 GB, free: 5.785 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/6.795, allocations: 299.9 kB / 3.61 GB, free: 5.492 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/6.795, allocations: 8 kB / 3.61 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/6.795, allocations: 31.97 kB / 3.61 GB, free: 5.453 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/6.795, allocations: 11.98 kB / 3.61 GB, free: 5.441 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/6.795, allocations: 7.938 kB / 3.61 GB, free: 5.434 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/6.801, allocations: 2.862 MB / 3.613 GB, free: 2.508 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008822/6.802, allocations: 355.1 kB / 3.613 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003812/6.803, allocations: 28 kB / 3.613 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/6.804, allocations: 179.9 kB / 3.614 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/6.805, allocations: 76.8 kB / 3.614 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/6.805, allocations: 39.95 kB / 3.614 GB, free: 1.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00133/6.806, allocations: 0.8396 MB / 3.615 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.71e-07/6.806, allocations: 0 / 3.615 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002122/6.808, allocations: 0.523 MB / 3.615 GB, free: 464 kB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.5275/7.336, allocations: 2.005 MB / 3.617 GB, free: 169.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004773/7.34, allocations: 1.62 MB / 3.619 GB, free: 169.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/7.341, allocations: 2.906 kB / 3.619 GB, free: 169.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/7.343, allocations: 0.8405 MB / 3.619 GB, free: 169.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/7.346, allocations: 0.6028 MB / 3.62 GB, free: 169.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/7.352, allocations: 3.447 MB / 3.623 GB, free: 168.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/7.353, allocations: 1.195 MB / 3.625 GB, free: 167.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001927/7.355, allocations: 372.5 kB / 3.625 GB, free: 167.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/7.355, allocations: 120.2 kB / 3.625 GB, free: 167.4 MB / 0.9792 GB Notification: Performance of SimCode: time 9.42e-07/7.355, allocations: 0 / 3.625 GB, free: 167.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.07177/7.427, allocations: 43.41 MB / 3.667 GB, free: 166.8 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)