Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.198/2.198, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 177.3 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.00113, allocations: 98.28 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004411, allocations: 15.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.285/7.504, allocations: 2.434 GB / 3.333 GB, free: 86.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/7.505, allocations: 88.7 kB / 3.333 GB, free: 86.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.075/10.58, allocations: 0.5844 GB / 3.918 GB, free: 205 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.003e-06/10.58, allocations: 3.906 kB / 3.918 GB, free: 205 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001498/10.58, allocations: 39.58 kB / 3.918 GB, free: 205 MB / 0.8855 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.004835/10.58, allocations: 1.536 MB / 3.919 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/10.58, allocations: 8.25 kB / 3.919 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/10.59, allocations: 0.5807 MB / 3.92 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003895/10.59, allocations: 0.937 MB / 3.921 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/10.59, allocations: 61.47 kB / 3.921 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/10.59, allocations: 81.02 kB / 3.921 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/10.6, allocations: 1.085 MB / 3.922 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/10.6, allocations: 7.188 kB / 3.922 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/10.6, allocations: 26.94 kB / 3.922 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/10.6, allocations: 17.66 kB / 3.922 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005203/10.6, allocations: 1.007 MB / 3.923 GB, free: 201.7 MB / 0.8855 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.008432/10.61, allocations: 4.976 MB / 3.928 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005039/10.62, allocations: 0.9533 MB / 3.929 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/10.62, allocations: 1.589 MB / 3.93 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/10.62, allocations: 0.5865 MB / 3.931 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 4.298e-06/10.62, allocations: 2.656 kB / 3.931 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.00802/10.63, allocations: 1.505 MB / 3.932 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/10.63, allocations: 58.31 kB / 3.932 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/10.63, allocations: 0.9936 MB / 3.933 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/10.63, allocations: 45.7 kB / 3.933 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/10.63, allocations: 0.5574 MB / 3.934 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/10.63, allocations: 213.8 kB / 3.934 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/10.63, allocations: 12 kB / 3.934 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/10.63, allocations: 337.9 kB / 3.934 GB, free: 190 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/10.64, allocations: 453.8 kB / 3.935 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/10.64, allocations: 0.7735 MB / 3.936 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/10.64, allocations: 0.4991 MB / 3.936 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/10.64, allocations: 0 / 3.936 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005929/10.65, allocations: 1.29 MB / 3.937 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/10.65, allocations: 8 kB / 3.937 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/10.65, allocations: 8 kB / 3.937 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/10.65, allocations: 15.95 kB / 3.937 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/10.65, allocations: 277.5 kB / 3.938 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/10.65, allocations: 15.94 kB / 3.938 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/10.65, allocations: 219.8 kB / 3.938 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/10.65, allocations: 51.97 kB / 3.938 GB, free: 186.4 MB / 0.8855 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.0007196/10.65, allocations: 294.5 kB / 3.938 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/10.65, allocations: 122.4 kB / 3.938 GB, free: 186 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0064/10.66, allocations: 1.43 MB / 3.94 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/10.66, allocations: 15.95 kB / 3.94 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/10.66, allocations: 3.984 kB / 3.94 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/10.66, allocations: 0 / 3.94 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008525/10.67, allocations: 2.478 MB / 3.942 GB, free: 182 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/10.67, allocations: 4.188 kB / 3.942 GB, free: 182 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/10.67, allocations: 213 kB / 3.942 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/10.67, allocations: 4 kB / 3.942 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/10.67, allocations: 23.97 kB / 3.942 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/10.67, allocations: 4 kB / 3.942 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/10.67, allocations: 4 kB / 3.942 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008766/10.68, allocations: 2.119 MB / 3.945 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009052/10.68, allocations: 311.2 kB / 3.945 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/10.68, allocations: 20 kB / 3.945 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/10.68, allocations: 131 kB / 3.945 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/10.68, allocations: 64.38 kB / 3.945 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/10.68, allocations: 31.97 kB / 3.945 GB, free: 179 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001407/10.68, allocations: 0.7681 MB / 3.946 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.9e-07/10.68, allocations: 0 / 3.946 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002002/10.69, allocations: 395.5 kB / 3.946 GB, free: 177.9 MB / 0.8855 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.002213/10.69, allocations: 0.8237 MB / 3.947 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005627/10.69, allocations: 1.138 MB / 3.948 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/10.69, allocations: 0 / 3.948 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/10.7, allocations: 0.597 MB / 3.949 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/10.7, allocations: 447.1 kB / 3.949 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007841/10.71, allocations: 2.758 MB / 3.952 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/10.71, allocations: 1.14 MB / 3.953 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001842/10.71, allocations: 253.2 kB / 3.953 GB, free: 171 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/10.71, allocations: 111.4 kB / 3.953 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/10.71, allocations: 0 / 3.953 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.05233/10.76, allocations: 21.42 MB / 3.974 GB, free: 150.1 MB / 0.8855 GB