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.213/2.213, allocations: 252.6 MB / 265.2 MB, free: 5.715 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.001471/0.001471, allocations: 177.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001176/0.001175, allocations: 97.45 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.717e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2434, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.689/7.933, allocations: 2.434 GB / 3.329 GB, free: 217 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/7.933, allocations: 85.52 kB / 3.329 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.116/11.05, allocations: 0.5825 GB / 3.912 GB, free: 184 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.245e-06/11.05, allocations: 2.156 kB / 3.912 GB, free: 184 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001792/11.05, allocations: 37.7 kB / 3.912 GB, free: 184 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.004228/11.05, allocations: 1.347 MB / 3.913 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/11.05, allocations: 9.094 kB / 3.913 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/11.06, allocations: 0.579 MB / 3.914 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004246/11.06, allocations: 0.9283 MB / 3.914 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/11.06, allocations: 59.12 kB / 3.915 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/11.06, allocations: 77.03 kB / 3.915 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/11.07, allocations: 0.8951 MB / 3.915 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/11.07, allocations: 3.531 kB / 3.915 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/11.07, allocations: 38.45 kB / 3.916 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/11.07, allocations: 18.75 kB / 3.916 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/11.07, allocations: 0.6301 MB / 3.916 GB, free: 182.8 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.008808/11.08, allocations: 4.98 MB / 3.921 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/11.08, allocations: 0.5864 MB / 3.922 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/11.08, allocations: 305.5 kB / 3.922 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/11.08, allocations: 1.595 MB / 3.923 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/11.08, allocations: 407.5 kB / 3.924 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.838e-06/11.08, allocations: 0 / 3.924 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.002425/11.09, allocations: 0.716 MB / 3.925 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/11.09, allocations: 58.12 kB / 3.925 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/11.09, allocations: 0.9808 MB / 3.926 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/11.09, allocations: 39.77 kB / 3.926 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/11.09, allocations: 0.5614 MB / 3.926 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/11.09, allocations: 205.1 kB / 3.926 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/11.09, allocations: 16.78 kB / 3.926 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/11.09, allocations: 336.9 kB / 3.927 GB, free: 177 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008161/11.09, allocations: 266.7 kB / 3.927 GB, free: 177 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/11.09, allocations: 0.5881 MB / 3.927 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/11.09, allocations: 319 kB / 3.928 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/11.09, allocations: 2.594 kB / 3.928 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00272/11.09, allocations: 0.9107 MB / 3.929 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/11.09, allocations: 7.812 kB / 3.929 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/11.09, allocations: 13.39 kB / 3.929 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.151e-05/11.09, allocations: 12.81 kB / 3.929 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/11.1, allocations: 281.8 kB / 3.929 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/11.1, allocations: 13.72 kB / 3.929 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/11.1, allocations: 218.2 kB / 3.929 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/11.1, allocations: 50.95 kB / 3.929 GB, free: 176.5 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.0002804/11.1, allocations: 161 kB / 3.929 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/11.1, allocations: 124.4 kB / 3.93 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/11.1, allocations: 1.064 MB / 3.931 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/11.1, allocations: 8.469 kB / 3.931 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/11.1, allocations: 0 / 3.931 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/11.1, allocations: 6.969 kB / 3.931 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/11.11, allocations: 2.106 MB / 3.933 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/11.11, allocations: 11.53 kB / 3.933 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/11.11, allocations: 203.8 kB / 3.933 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/11.11, allocations: 7.688 kB / 3.933 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.987e-05/11.11, allocations: 24.88 kB / 3.933 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/11.11, allocations: 3.938 kB / 3.933 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/11.11, allocations: 5.562 kB / 3.933 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/11.11, allocations: 1.567 MB / 3.934 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/11.12, allocations: 310.6 kB / 3.935 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/11.12, allocations: 22.28 kB / 3.935 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/11.12, allocations: 132.4 kB / 3.935 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/11.12, allocations: 57.42 kB / 3.935 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/11.12, allocations: 38.75 kB / 3.935 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001374/11.12, allocations: 0.757 MB / 3.936 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-07/11.12, allocations: 0 / 3.936 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001811/11.12, allocations: 393.9 kB / 3.936 GB, free: 175.1 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.001973/11.12, allocations: 0.7748 MB / 3.937 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002081/11.12, allocations: 0.7664 MB / 3.938 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/11.12, allocations: 3.938 kB / 3.938 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009996/11.13, allocations: 417.2 kB / 3.938 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/11.13, allocations: 433.5 kB / 3.938 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/11.13, allocations: 1.813 MB / 3.94 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/11.14, allocations: 1.148 MB / 3.941 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001787/11.14, allocations: 255.3 kB / 3.942 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/11.14, allocations: 111.8 kB / 3.942 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/11.14, allocations: 0 / 3.942 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.05459/11.19, allocations: 21.85 MB / 3.963 GB, free: 173.1 MB / 0.8698 GB