Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001102/0.001103, allocations: 176.4 kB / 361.4 MB, free: 6.82 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.625/1.625, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008705/0.0008705, allocations: 95.7 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.675e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7161, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.813/6.529, allocations: 2.317 GB / 3.281 GB, free: 160.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/6.529, allocations: 84.73 kB / 3.281 GB, free: 160.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.458/8.987, allocations: 0.5958 GB / 3.877 GB, free: 217.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/8.987, allocations: 0 / 3.877 GB, free: 217.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002641/8.988, allocations: 40.09 kB / 3.877 GB, free: 217.5 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.004/8.992, allocations: 1.34 MB / 3.878 GB, free: 216.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/8.992, allocations: 9.438 kB / 3.878 GB, free: 216.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/8.995, allocations: 0.5741 MB / 3.879 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/8.998, allocations: 0.9269 MB / 3.88 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/8.998, allocations: 22.91 kB / 3.88 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/8.998, allocations: 51.28 kB / 3.88 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/9, allocations: 0.5644 MB / 3.881 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/9.001, allocations: 0.8065 MB / 3.881 GB, free: 216.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/9.001, allocations: 2.625 kB / 3.881 GB, free: 216.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/9.001, allocations: 6.672 kB / 3.881 GB, free: 216.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/9.001, allocations: 18.06 kB / 3.881 GB, free: 216.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005789/9.007, allocations: 4.812 MB / 3.886 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/9.008, allocations: 0.5544 MB / 3.887 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/9.009, allocations: 282.1 kB / 3.887 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/9.01, allocations: 1.598 MB / 3.888 GB, free: 211.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000606/9.01, allocations: 384 kB / 3.889 GB, free: 211.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.877e-06/9.01, allocations: 4.688 kB / 3.889 GB, free: 211.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001805/9.012, allocations: 0.7218 MB / 3.889 GB, free: 211.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/9.012, allocations: 61.94 kB / 3.89 GB, free: 211.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/9.013, allocations: 0.8373 MB / 3.89 GB, free: 211.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/9.013, allocations: 30.27 kB / 3.89 GB, free: 211.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/9.014, allocations: 0.5651 MB / 3.891 GB, free: 210.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/9.014, allocations: 204.7 kB / 3.891 GB, free: 210.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/9.014, allocations: 3.281 kB / 3.891 GB, free: 210.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.751e-05/9.014, allocations: 338.5 kB / 3.891 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/9.014, allocations: 248.3 kB / 3.892 GB, free: 210.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/9.015, allocations: 0.5665 MB / 3.892 GB, free: 210.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/9.016, allocations: 350.1 kB / 3.893 GB, free: 210.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/9.016, allocations: 3.125 kB / 3.893 GB, free: 210.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001607/9.017, allocations: 0.8797 MB / 3.893 GB, free: 210 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/9.017, allocations: 16.25 kB / 3.893 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/9.017, allocations: 7.188 kB / 3.893 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/9.017, allocations: 12.78 kB / 3.893 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/9.019, allocations: 273 kB / 3.894 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/9.019, allocations: 16.3 kB / 3.894 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/9.02, allocations: 188.5 kB / 3.894 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/9.02, allocations: 47.83 kB / 3.894 GB, free: 210 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 () * 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.0001785/9.02, allocations: 138.2 kB / 3.894 GB, free: 209.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/9.02, allocations: 114.2 kB / 3.894 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/9.022, allocations: 1.022 MB / 3.895 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/9.022, allocations: 10.31 kB / 3.895 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/9.022, allocations: 0 / 3.895 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/9.022, allocations: 5.109 kB / 3.895 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/9.025, allocations: 2.008 MB / 3.897 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/9.025, allocations: 1.531 kB / 3.897 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/9.027, allocations: 200.8 kB / 3.897 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/9.027, allocations: 5.344 kB / 3.897 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.163e-05/9.027, allocations: 25.33 kB / 3.897 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/9.027, allocations: 4.469 kB / 3.897 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/9.027, allocations: 1.938 kB / 3.897 GB, free: 209.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/9.029, allocations: 1.528 MB / 3.899 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/9.029, allocations: 300.1 kB / 3.899 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/9.029, allocations: 3.969 kB / 3.899 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/9.03, allocations: 119.3 kB / 3.899 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/9.03, allocations: 57.78 kB / 3.899 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/9.03, allocations: 35.42 kB / 3.899 GB, free: 208.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000693/9.031, allocations: 0.6331 MB / 3.9 GB, free: 208.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/9.031, allocations: 0 / 3.9 GB, free: 208.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001232/9.032, allocations: 378.7 kB / 3.9 GB, free: 208.7 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) * 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.001373/9.034, allocations: 0.756 MB / 3.901 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001105/9.035, allocations: 0.7264 MB / 3.902 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/9.035, allocations: 0 / 3.902 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004908/9.035, allocations: 408.8 kB / 3.902 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/9.037, allocations: 335.4 kB / 3.903 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/9.04, allocations: 1.764 MB / 3.904 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/9.041, allocations: 1.136 MB / 3.905 GB, free: 207.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001047/9.042, allocations: 248.8 kB / 3.906 GB, free: 207.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/9.042, allocations: 105.9 kB / 3.906 GB, free: 207.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/9.042, allocations: 3.875 kB / 3.906 GB, free: 207.3 MB / 0.948 GB Notification: Performance of Templates: time 0.02742/9.07, allocations: 17.57 MB / 3.923 GB, free: 206.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)