Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 293 MB / 309 MB, free: 4.789 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 175.2 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.4 MB / 0.6383 GB, free: 8.219 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007072/0.0007072, allocations: 81.98 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.000399, allocations: 20 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.318/4.57, allocations: 2.069 GB / 3.059 GB, free: 147.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/4.571, allocations: 90.17 kB / 3.06 GB, free: 147.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.257/6.827, allocations: 0.6798 GB / 3.739 GB, free: 153.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/6.827, allocations: 3.828 kB / 3.739 GB, free: 153.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000198/6.828, allocations: 46.58 kB / 3.739 GB, free: 153.6 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007359/6.835, allocations: 1.944 MB / 3.741 GB, free: 152.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/6.835, allocations: 11.44 kB / 3.741 GB, free: 152.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/6.84, allocations: 0.8771 MB / 3.742 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/6.843, allocations: 1.163 MB / 3.743 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/6.843, allocations: 72.31 kB / 3.743 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/6.843, allocations: 93.17 kB / 3.743 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/6.847, allocations: 1.546 MB / 3.745 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/6.847, allocations: 3.938 kB / 3.745 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/6.847, allocations: 33.89 kB / 3.745 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/6.847, allocations: 58.36 kB / 3.745 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004331/6.851, allocations: 1.791 MB / 3.747 GB, free: 150.7 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.007274/6.858, allocations: 4.795 MB / 3.751 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/6.862, allocations: 1.567 MB / 3.753 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/6.864, allocations: 0.8379 MB / 3.754 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/6.865, allocations: 0.9442 MB / 3.755 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/6.867, allocations: 0.9062 MB / 3.756 GB, free: 146 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 4.409e-06/6.867, allocations: 0 / 3.756 GB, free: 146 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.006929/6.874, allocations: 2.43 MB / 3.758 GB, free: 145.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/6.874, allocations: 75.52 kB / 3.758 GB, free: 145.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/6.876, allocations: 1.203 MB / 3.759 GB, free: 144.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/6.876, allocations: 49.2 kB / 3.759 GB, free: 144.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/6.876, allocations: 0.5548 MB / 3.76 GB, free: 144.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/6.876, allocations: 326.5 kB / 3.76 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/6.877, allocations: 19.44 kB / 3.76 GB, free: 144 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/6.877, allocations: 345 kB / 3.76 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/6.878, allocations: 0.6921 MB / 3.761 GB, free: 143.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/6.88, allocations: 0.9559 MB / 3.762 GB, free: 143.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/6.884, allocations: 1.548 MB / 3.764 GB, free: 142.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/6.884, allocations: 3.906 kB / 3.764 GB, free: 142.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004496/6.888, allocations: 1.764 MB / 3.765 GB, free: 141.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/6.888, allocations: 7.125 kB / 3.765 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/6.888, allocations: 7.469 kB / 3.765 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/6.889, allocations: 8 kB / 3.765 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/6.89, allocations: 341.9 kB / 3.766 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/6.89, allocations: 7.094 kB / 3.766 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/6.892, allocations: 275.2 kB / 3.766 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/6.892, allocations: 50.75 kB / 3.766 GB, free: 141.8 MB / 0.948 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.000778/6.893, allocations: 339.6 kB / 3.766 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/6.893, allocations: 131.5 kB / 3.766 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/6.898, allocations: 1.839 MB / 3.768 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/6.898, allocations: 9.062 kB / 3.768 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/6.898, allocations: 0 / 3.768 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/6.898, allocations: 11.64 kB / 3.768 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006305/6.904, allocations: 3.416 MB / 3.772 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/6.904, allocations: 7.562 kB / 3.772 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/6.906, allocations: 300.5 kB / 3.772 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/6.906, allocations: 6.656 kB / 3.772 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/6.906, allocations: 35.88 kB / 3.772 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/6.906, allocations: 8.875 kB / 3.772 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/6.906, allocations: 10.69 kB / 3.772 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005954/6.912, allocations: 2.863 MB / 3.775 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/6.912, allocations: 359.8 kB / 3.775 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/6.913, allocations: 31.45 kB / 3.775 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/6.914, allocations: 179.3 kB / 3.775 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/6.914, allocations: 71.97 kB / 3.775 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/6.914, allocations: 41.72 kB / 3.775 GB, free: 137.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000982/6.915, allocations: 0.8376 MB / 3.776 GB, free: 137.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/6.915, allocations: 0 / 3.776 GB, free: 137.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001576/6.917, allocations: 0.5117 MB / 3.777 GB, free: 136.9 MB / 0.948 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.002743/6.919, allocations: 2.03 MB / 3.779 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004008/6.923, allocations: 1.618 MB / 3.78 GB, free: 135.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/6.923, allocations: 0 / 3.78 GB, free: 135.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/6.925, allocations: 0.8388 MB / 3.781 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/6.929, allocations: 0.598 MB / 3.782 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/6.934, allocations: 3.448 MB / 3.785 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/6.935, allocations: 1.194 MB / 3.786 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001649/6.937, allocations: 378.1 kB / 3.787 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/6.937, allocations: 122.6 kB / 3.787 GB, free: 131.2 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/6.937, allocations: 0 / 3.787 GB, free: 131.2 MB / 0.948 GB Notification: Performance of Templates: time 0.05103/6.988, allocations: 43.38 MB / 3.829 GB, free: 90.49 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)