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.245/2.245, allocations: 253.2 MB / 260.6 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 176.8 kB / 319.9 MB, free: 3.035 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 1.953/1.953, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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: 99.69 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.286e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1925, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.79/7.982, allocations: 2.434 GB / 3.323 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/7.983, allocations: 81.36 kB / 3.323 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.17/11.15, allocations: 0.5792 GB / 3.902 GB, free: 190 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.214e-06/11.15, allocations: 0 / 3.902 GB, free: 190 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001878/11.15, allocations: 40.97 kB / 3.902 GB, free: 190 MB / 0.8698 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.004327/11.16, allocations: 1.334 MB / 3.904 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/11.16, allocations: 10.05 kB / 3.904 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005703/11.16, allocations: 0.5823 MB / 3.904 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/11.17, allocations: 0.9217 MB / 3.905 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/11.17, allocations: 23.83 kB / 3.905 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/11.17, allocations: 48.36 kB / 3.905 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002939/11.17, allocations: 0.5721 MB / 3.906 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/11.18, allocations: 0.7949 MB / 3.907 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/11.18, allocations: 4.156 kB / 3.907 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/11.18, allocations: 9.359 kB / 3.907 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/11.18, allocations: 21.91 kB / 3.907 GB, free: 189 MB / 0.8698 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.01281/11.19, allocations: 4.826 MB / 3.911 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/11.19, allocations: 0.5525 MB / 3.912 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/11.19, allocations: 286 kB / 3.912 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002089/11.19, allocations: 1.598 MB / 3.914 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/11.2, allocations: 390.3 kB / 3.914 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 5.561e-06/11.2, allocations: 0 / 3.914 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.004123/11.2, allocations: 0.7268 MB / 3.915 GB, free: 184 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/11.2, allocations: 62.45 kB / 3.915 GB, free: 184 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/11.2, allocations: 0.8376 MB / 3.916 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002888/11.2, allocations: 31.44 kB / 3.916 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/11.2, allocations: 0.5577 MB / 3.916 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/11.2, allocations: 202.2 kB / 3.916 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/11.2, allocations: 0 / 3.916 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/11.2, allocations: 336.5 kB / 3.917 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/11.21, allocations: 249.2 kB / 3.917 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/11.21, allocations: 0.5644 MB / 3.918 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/11.21, allocations: 354.9 kB / 3.918 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/11.21, allocations: 3.844 kB / 3.918 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00455/11.21, allocations: 0.8754 MB / 3.919 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/11.21, allocations: 8.188 kB / 3.919 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/11.21, allocations: 10.84 kB / 3.919 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-05/11.21, allocations: 13.34 kB / 3.919 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/11.22, allocations: 279.3 kB / 3.919 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/11.22, allocations: 17.75 kB / 3.919 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/11.22, allocations: 180.1 kB / 3.919 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/11.22, allocations: 50.97 kB / 3.919 GB, free: 182.7 MB / 0.8698 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.0004126/11.22, allocations: 140.5 kB / 3.919 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/11.22, allocations: 106.9 kB / 3.92 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/11.23, allocations: 1.02 MB / 3.921 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/11.23, allocations: 14.25 kB / 3.921 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/11.23, allocations: 5.547 kB / 3.921 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/11.23, allocations: 6 kB / 3.921 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008535/11.24, allocations: 1.995 MB / 3.922 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/11.24, allocations: 2.031 kB / 3.922 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/11.24, allocations: 200.5 kB / 3.923 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-05/11.24, allocations: 5.844 kB / 3.923 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/11.24, allocations: 19.12 kB / 3.923 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/11.24, allocations: 8.719 kB / 3.923 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/11.24, allocations: 3.672 kB / 3.923 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/11.24, allocations: 1.519 MB / 3.924 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000898/11.25, allocations: 302 kB / 3.924 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/11.25, allocations: 5.656 kB / 3.924 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/11.25, allocations: 126.2 kB / 3.925 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/11.25, allocations: 49.02 kB / 3.925 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/11.25, allocations: 40.2 kB / 3.925 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001293/11.25, allocations: 0.6331 MB / 3.925 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/11.25, allocations: 0 / 3.925 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002143/11.25, allocations: 375.9 kB / 3.926 GB, free: 181.4 MB / 0.8698 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.002192/11.25, allocations: 0.7607 MB / 3.926 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002277/11.26, allocations: 0.7261 MB / 3.927 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/11.26, allocations: 1.375 kB / 3.927 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/11.26, allocations: 403.1 kB / 3.928 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/11.26, allocations: 341.7 kB / 3.928 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/11.27, allocations: 1.759 MB / 3.93 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009727/11.27, allocations: 1.141 MB / 3.931 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002071/11.27, allocations: 247 kB / 3.931 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/11.27, allocations: 105.3 kB / 3.931 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.313e-06/11.27, allocations: 0 / 3.931 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.05211/11.32, allocations: 17.57 MB / 3.948 GB, free: 179.7 MB / 0.8698 GB