Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.656/2.656, allocations: 287.5 MB / 302.4 MB, free: 8.188 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.002169/0.002169, allocations: 173.1 kB / 371 MB, free: 10.8 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 2.097/2.097, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 98.03 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004847, allocations: 11.98 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.794/7.014, allocations: 2.085 GB / 3.063 GB, free: 189.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/7.015, allocations: 102.1 kB / 3.063 GB, free: 189.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.926/10.94, allocations: 0.7444 GB / 3.807 GB, free: 170.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/10.94, allocations: 0 / 3.807 GB, free: 170.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003102/10.94, allocations: 46.94 kB / 3.807 GB, free: 170.5 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.01218/10.95, allocations: 2.09 MB / 3.809 GB, free: 168.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/10.95, allocations: 12.03 kB / 3.809 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/10.96, allocations: 299 kB / 3.81 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/10.97, allocations: 1.386 MB / 3.811 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/10.97, allocations: 57.31 kB / 3.811 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/10.97, allocations: 80 kB / 3.811 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/10.97, allocations: 0.9534 MB / 3.812 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/10.97, allocations: 0 / 3.812 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/10.97, allocations: 24 kB / 3.812 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/10.97, allocations: 20 kB / 3.812 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/10.97, allocations: 0.8679 MB / 3.813 GB, free: 164.6 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.01496/10.99, allocations: 3.565 MB / 3.817 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/10.99, allocations: 0.7874 MB / 3.817 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/10.99, allocations: 291.7 kB / 3.818 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/10.99, allocations: 46.98 kB / 3.818 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003152/10.99, allocations: 327.2 kB / 3.818 GB, free: 159.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 7.955e-06/10.99, allocations: 8 kB / 3.818 GB, free: 159.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.005525/11, allocations: 1.348 MB / 3.819 GB, free: 158 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/11, allocations: 214.1 kB / 3.819 GB, free: 157.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/11, allocations: 1.476 MB / 3.821 GB, free: 156.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003938/11, allocations: 45.7 kB / 3.821 GB, free: 156.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/11.01, allocations: 0.5546 MB / 3.822 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/11.01, allocations: 181.3 kB / 3.822 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/11.01, allocations: 12 kB / 3.822 GB, free: 155.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/11.01, allocations: 329.9 kB / 3.822 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/11.01, allocations: 388.9 kB / 3.822 GB, free: 154.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/11.01, allocations: 0.7011 MB / 3.823 GB, free: 153.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/11.01, allocations: 465.1 kB / 3.824 GB, free: 153.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/11.01, allocations: 4.547 kB / 3.824 GB, free: 153.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003959/11.01, allocations: 1.052 MB / 3.825 GB, free: 152.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/11.01, allocations: 103.2 kB / 3.825 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/11.01, allocations: 4 kB / 3.825 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/11.01, allocations: 7.984 kB / 3.825 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/11.02, allocations: 167.7 kB / 3.825 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/11.02, allocations: 4 kB / 3.825 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/11.02, allocations: 147.7 kB / 3.825 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/11.02, allocations: 39.95 kB / 3.825 GB, free: 151.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/11.02, allocations: 4 kB / 3.825 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002985/11.02, allocations: 0.911 MB / 3.826 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/11.02, allocations: 0 / 3.826 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/11.02, allocations: 4 kB / 3.826 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/11.02, allocations: 167.8 kB / 3.826 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/11.02, allocations: 0 / 3.826 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/11.03, allocations: 151.7 kB / 3.826 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/11.03, allocations: 43.95 kB / 3.826 GB, free: 150.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.001131/11.03, allocations: 380.9 kB / 3.827 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/11.03, allocations: 134.3 kB / 3.827 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/11.03, allocations: 1.078 MB / 3.828 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/11.03, allocations: 11.7 kB / 3.828 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/11.03, allocations: 4 kB / 3.828 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/11.03, allocations: 7.938 kB / 3.828 GB, free: 149 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 postOpt removeSimpleEquations (simulation): time 0.007077/11.04, allocations: 2.518 MB / 3.83 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/11.04, allocations: 7.984 kB / 3.83 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/11.04, allocations: 131.9 kB / 3.83 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/11.04, allocations: 8 kB / 3.83 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.171e-05/11.04, allocations: 24.2 kB / 3.83 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/11.04, allocations: 11.94 kB / 3.83 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/11.04, allocations: 4 kB / 3.83 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/11.05, allocations: 1.701 MB / 3.832 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/11.05, allocations: 367.2 kB / 3.832 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005414/11.05, allocations: 23.95 kB / 3.832 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/11.05, allocations: 103.8 kB / 3.833 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/11.05, allocations: 44.38 kB / 3.833 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.976e-05/11.05, allocations: 35.92 kB / 3.833 GB, free: 143.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003259/11.06, allocations: 1.16 MB / 3.834 GB, free: 142.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/11.06, allocations: 0 / 3.834 GB, free: 142.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00418/11.06, allocations: 0.7413 MB / 3.835 GB, free: 141.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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 Backend phase and start with SimCode phase: time 0.004406/11.06, allocations: 1.909 MB / 3.836 GB, free: 140 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005959/11.07, allocations: 1.426 MB / 3.838 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/11.07, allocations: 0 / 3.838 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/11.07, allocations: 434.7 kB / 3.838 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00784/11.08, allocations: 0.5979 MB / 3.839 GB, free: 137.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/11.09, allocations: 2.505 MB / 3.841 GB, free: 135 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/11.09, allocations: 1.188 MB / 3.842 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00409/11.09, allocations: 377.4 kB / 3.843 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/11.09, allocations: 131.4 kB / 3.843 GB, free: 133.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/11.09, allocations: 0 / 3.843 GB, free: 133.2 MB / 0.948 GB Notification: Performance of Templates: time 0.1241/11.22, allocations: 48.31 MB / 3.89 GB, free: 85.17 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)