Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.542/2.542, allocations: 287.5 MB / 303.2 MB, free: 8.246 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.001346/0.001346, allocations: 179 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009394/0.0009391, allocations: 92.66 kB / 0.7438 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.000478, allocations: 12.7 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.056/7.265, allocations: 2.318 GB / 3.297 GB, free: 348.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/7.265, allocations: 95.08 kB / 3.297 GB, free: 348.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.491/9.756, allocations: 0.5978 GB / 3.895 GB, free: 129.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/9.756, allocations: 0 / 3.895 GB, free: 129.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001324/9.757, allocations: 39.38 kB / 3.895 GB, free: 129.4 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.00445/9.761, allocations: 1.523 MB / 3.896 GB, free: 127.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/9.761, allocations: 12.03 kB / 3.896 GB, free: 127.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005333/9.767, allocations: 0.5766 MB / 3.897 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/9.77, allocations: 0.9759 MB / 3.898 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-05/9.77, allocations: 62.38 kB / 3.898 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/9.771, allocations: 72.38 kB / 3.898 GB, free: 126.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/9.774, allocations: 1.102 MB / 3.899 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/9.774, allocations: 7.938 kB / 3.899 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/9.775, allocations: 32 kB / 3.899 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/9.775, allocations: 16 kB / 3.899 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005067/9.78, allocations: 1.004 MB / 3.9 GB, free: 123.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.008383/9.788, allocations: 4.979 MB / 3.905 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/9.793, allocations: 0.9652 MB / 3.906 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/9.796, allocations: 491.3 kB / 3.906 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/9.797, allocations: 1.589 MB / 3.908 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/9.8, allocations: 0.5845 MB / 3.908 GB, free: 114.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.519e-06/9.8, allocations: 0 / 3.908 GB, free: 114.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.008087/9.808, allocations: 1.508 MB / 3.91 GB, free: 113.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/9.808, allocations: 63.97 kB / 3.91 GB, free: 113.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/9.81, allocations: 1.125 MB / 3.911 GB, free: 111.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/9.81, allocations: 41.7 kB / 3.911 GB, free: 111.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/9.811, allocations: 0.555 MB / 3.912 GB, free: 111.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/9.811, allocations: 209 kB / 3.912 GB, free: 111.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/9.811, allocations: 16 kB / 3.912 GB, free: 111.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/9.812, allocations: 334 kB / 3.912 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/9.814, allocations: 461.4 kB / 3.913 GB, free: 110.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/9.817, allocations: 0.7815 MB / 3.913 GB, free: 109.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/9.821, allocations: 1.124 MB / 3.914 GB, free: 108.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/9.822, allocations: 4 kB / 3.914 GB, free: 108.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005807/9.827, allocations: 1.282 MB / 3.916 GB, free: 106.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/9.827, allocations: 11.94 kB / 3.916 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/9.827, allocations: 12.84 kB / 3.916 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/9.827, allocations: 12 kB / 3.916 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/9.83, allocations: 283.4 kB / 3.916 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/9.83, allocations: 19.92 kB / 3.916 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/9.832, allocations: 214.8 kB / 3.916 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/9.832, allocations: 55.72 kB / 3.916 GB, free: 106.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.0007269/9.833, allocations: 291.8 kB / 3.917 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/9.833, allocations: 122.4 kB / 3.917 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006113/9.839, allocations: 1.425 MB / 3.918 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/9.839, allocations: 11.98 kB / 3.918 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/9.839, allocations: 7.938 kB / 3.918 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/9.839, allocations: 3.984 kB / 3.918 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008198/9.848, allocations: 2.482 MB / 3.921 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/9.848, allocations: 0 / 3.921 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/9.85, allocations: 207.9 kB / 3.921 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/9.85, allocations: 4 kB / 3.921 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/9.85, allocations: 27.97 kB / 3.921 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/9.85, allocations: 8 kB / 3.921 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/9.85, allocations: 0 / 3.921 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00827/9.858, allocations: 2.048 MB / 3.923 GB, free: 99.58 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008625/9.859, allocations: 307.3 kB / 3.923 GB, free: 99.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/9.859, allocations: 19.98 kB / 3.923 GB, free: 99.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/9.861, allocations: 131.9 kB / 3.923 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/9.861, allocations: 56.38 kB / 3.923 GB, free: 99.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/9.861, allocations: 35.97 kB / 3.923 GB, free: 99.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001368/9.863, allocations: 0.7681 MB / 3.924 GB, free: 98.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/9.863, allocations: 0 / 3.924 GB, free: 98.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001722/9.864, allocations: 395.5 kB / 3.924 GB, free: 97.86 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.002068/9.866, allocations: 0.8141 MB / 3.925 GB, free: 97.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005414/9.872, allocations: 1.142 MB / 3.926 GB, free: 96.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/9.872, allocations: 0 / 3.926 GB, free: 96.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002653/9.875, allocations: 0.5948 MB / 3.927 GB, free: 95.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/9.879, allocations: 447.8 kB / 3.927 GB, free: 95.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008226/9.887, allocations: 2.764 MB / 3.93 GB, free: 92.31 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/9.888, allocations: 1.12 MB / 3.931 GB, free: 91.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00265/9.89, allocations: 256.6 kB / 3.931 GB, free: 90.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/9.891, allocations: 111.4 kB / 3.931 GB, free: 90.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/9.891, allocations: 0 / 3.931 GB, free: 90.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05387/9.945, allocations: 21.48 MB / 3.952 GB, free: 69.54 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)