Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.421/2.421, allocations: 284.8 MB / 297.3 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 180.8 kB / 365.7 MB, free: 2.602 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.1 MB / 0.6241 GB, free: 8.219 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 93.86 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.123e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/0.8487, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.158/8.007, allocations: 2.317 GB / 3.287 GB, free: 138.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/8.007, allocations: 86.38 kB / 3.287 GB, free: 138.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.251/11.26, allocations: 0.599 GB / 3.886 GB, free: 220.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.954e-06/11.26, allocations: 3 kB / 3.886 GB, free: 220.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001621/11.26, allocations: 47.44 kB / 3.887 GB, free: 220.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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004114/11.26, allocations: 1.334 MB / 3.888 GB, free: 219.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/11.26, allocations: 7.938 kB / 3.888 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005496/11.27, allocations: 0.5824 MB / 3.888 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/11.27, allocations: 0.9244 MB / 3.889 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/11.27, allocations: 59.25 kB / 3.889 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/11.27, allocations: 77.34 kB / 3.889 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/11.27, allocations: 0.8996 MB / 3.89 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/11.27, allocations: 6 kB / 3.89 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/11.27, allocations: 31.12 kB / 3.89 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/11.27, allocations: 18.78 kB / 3.89 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/11.28, allocations: 0.626 MB / 3.891 GB, free: 219.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.008817/11.29, allocations: 4.989 MB / 3.896 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/11.29, allocations: 0.5808 MB / 3.896 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/11.29, allocations: 306.7 kB / 3.897 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/11.29, allocations: 1.596 MB / 3.898 GB, free: 214.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/11.29, allocations: 403.2 kB / 3.899 GB, free: 214.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.616e-06/11.29, allocations: 0 / 3.899 GB, free: 214.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002343/11.29, allocations: 0.7183 MB / 3.899 GB, free: 214.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/11.29, allocations: 59.16 kB / 3.899 GB, free: 214.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/11.3, allocations: 0.9826 MB / 3.9 GB, free: 214 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/11.3, allocations: 43.95 kB / 3.9 GB, free: 214 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/11.3, allocations: 0.5451 MB / 3.901 GB, free: 213.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/11.3, allocations: 219.5 kB / 3.901 GB, free: 213.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/11.3, allocations: 19.34 kB / 3.901 GB, free: 213.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/11.3, allocations: 334.1 kB / 3.901 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/11.3, allocations: 265.9 kB / 3.902 GB, free: 213.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/11.3, allocations: 0.5845 MB / 3.902 GB, free: 213 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008079/11.3, allocations: 319.3 kB / 3.903 GB, free: 213 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/11.3, allocations: 0 / 3.903 GB, free: 213 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002573/11.3, allocations: 0.9115 MB / 3.904 GB, free: 212.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/11.3, allocations: 10.19 kB / 3.904 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/11.3, allocations: 16.28 kB / 3.904 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/11.3, allocations: 17.28 kB / 3.904 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/11.3, allocations: 277.4 kB / 3.904 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/11.3, allocations: 13.84 kB / 3.904 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/11.31, allocations: 214 kB / 3.904 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/11.31, allocations: 52.95 kB / 3.904 GB, free: 212.8 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.0002974/11.31, allocations: 167.1 kB / 3.904 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/11.31, allocations: 125.2 kB / 3.904 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/11.31, allocations: 1.053 MB / 3.905 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/11.31, allocations: 18.39 kB / 3.905 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/11.31, allocations: 0 / 3.905 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/11.31, allocations: 7.312 kB / 3.905 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/11.32, allocations: 2.111 MB / 3.907 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/11.32, allocations: 0 / 3.907 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/11.32, allocations: 202 kB / 3.908 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/11.32, allocations: 3.969 kB / 3.908 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/11.32, allocations: 29.38 kB / 3.908 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/11.32, allocations: 7.656 kB / 3.908 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/11.32, allocations: 3.609 kB / 3.908 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/11.32, allocations: 1.57 MB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/11.32, allocations: 308.3 kB / 3.91 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/11.32, allocations: 17.47 kB / 3.91 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/11.32, allocations: 143.2 kB / 3.91 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/11.32, allocations: 56.84 kB / 3.91 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/11.33, allocations: 36.59 kB / 3.91 GB, free: 211.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001427/11.33, allocations: 0.757 MB / 3.911 GB, free: 211.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/11.33, allocations: 3.875 kB / 3.911 GB, free: 211.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001968/11.33, allocations: 385.7 kB / 3.911 GB, free: 211.4 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.002262/11.33, allocations: 0.7683 MB / 3.912 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002329/11.33, allocations: 0.7774 MB / 3.912 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/11.33, allocations: 0 / 3.912 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/11.33, allocations: 419.9 kB / 3.913 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/11.34, allocations: 432.7 kB / 3.913 GB, free: 211.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/11.34, allocations: 1.811 MB / 3.915 GB, free: 210.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/11.34, allocations: 1.14 MB / 3.916 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001886/11.35, allocations: 256.7 kB / 3.916 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/11.35, allocations: 113.3 kB / 3.916 GB, free: 210.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/11.35, allocations: 0 / 3.916 GB, free: 210.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05695/11.4, allocations: 21.86 MB / 3.938 GB, free: 209 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)