Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 176.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000813/0.0008132, allocations: 92.75 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.699e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6296, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.459/5.089, allocations: 2.084 GB / 3.048 GB, free: 31.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/5.089, allocations: 95.38 kB / 3.048 GB, free: 31.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.571/7.66, allocations: 0.7352 GB / 3.784 GB, free: 35.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/7.66, allocations: 4 kB / 3.784 GB, free: 35.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001377/7.661, allocations: 39.94 kB / 3.784 GB, free: 35.11 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.003778/7.664, allocations: 1.577 MB / 3.785 GB, free: 33.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/7.664, allocations: 8.031 kB / 3.785 GB, free: 33.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/7.667, allocations: 309.8 kB / 3.785 GB, free: 33.17 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/7.67, allocations: 1.333 MB / 3.787 GB, free: 31.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/7.67, allocations: 20 kB / 3.787 GB, free: 31.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/7.67, allocations: 52 kB / 3.787 GB, free: 31.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001078/7.671, allocations: 0.7406 MB / 3.788 GB, free: 30.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/7.672, allocations: 0.8142 MB / 3.788 GB, free: 30.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/7.672, allocations: 0 / 3.788 GB, free: 30.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/7.672, allocations: 4 kB / 3.788 GB, free: 30.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/7.672, allocations: 12 kB / 3.788 GB, free: 30.11 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.004645/7.677, allocations: 3.398 MB / 3.792 GB, free: 26.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/7.678, allocations: 0.7168 MB / 3.792 GB, free: 25.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/7.678, allocations: 398.9 kB / 3.793 GB, free: 25.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/7.679, allocations: 299.7 kB / 3.793 GB, free: 25.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/7.679, allocations: 39 kB / 3.793 GB, free: 25.03 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001272/7.68, allocations: 307.4 kB / 3.793 GB, free: 24.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 3.136e-06/7.68, allocations: 0 / 3.793 GB, free: 24.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.001554/7.681, allocations: 0.8771 MB / 3.794 GB, free: 23.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/7.682, allocations: 210.1 kB / 3.794 GB, free: 23.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/7.683, allocations: 1.252 MB / 3.796 GB, free: 22.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-05/7.683, allocations: 33.64 kB / 3.796 GB, free: 22.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/7.683, allocations: 0.5742 MB / 3.796 GB, free: 21.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/7.684, allocations: 169.4 kB / 3.796 GB, free: 21.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/7.684, allocations: 0 / 3.796 GB, free: 21.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/7.684, allocations: 333.9 kB / 3.797 GB, free: 21.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/7.684, allocations: 329 kB / 3.797 GB, free: 20.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/7.685, allocations: 0.6347 MB / 3.798 GB, free: 20.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/7.685, allocations: 416.5 kB / 3.798 GB, free: 19.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/7.685, allocations: 0 / 3.798 GB, free: 19.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001315/7.687, allocations: 0.9307 MB / 3.799 GB, free: 18.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/7.687, allocations: 100.8 kB / 3.799 GB, free: 18.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/7.687, allocations: 4 kB / 3.799 GB, free: 18.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/7.687, allocations: 0 / 3.799 GB, free: 18.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/7.687, allocations: 163.8 kB / 3.799 GB, free: 18.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/7.687, allocations: 4 kB / 3.799 GB, free: 18.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/7.689, allocations: 136.1 kB / 3.799 GB, free: 18.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/7.689, allocations: 47.91 kB / 3.799 GB, free: 18.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/7.689, allocations: 4.938 kB / 3.799 GB, free: 18.33 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/7.69, allocations: 0.7588 MB / 3.8 GB, free: 17.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/7.69, allocations: 4 kB / 3.8 GB, free: 17.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/7.69, allocations: 3.938 kB / 3.8 GB, free: 17.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/7.691, allocations: 159.8 kB / 3.8 GB, free: 17.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/7.691, allocations: 4 kB / 3.8 GB, free: 17.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/7.692, allocations: 139.7 kB / 3.8 GB, free: 17.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/7.693, allocations: 47.95 kB / 3.8 GB, free: 17.22 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 () * 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.0001894/7.693, allocations: 120.6 kB / 3.801 GB, free: 17.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/7.693, allocations: 126.5 kB / 3.801 GB, free: 16.97 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/7.695, allocations: 0.921 MB / 3.802 GB, free: 16.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/7.695, allocations: 4 kB / 3.802 GB, free: 16.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/7.695, allocations: 4 kB / 3.802 GB, free: 16.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/7.695, allocations: 7.984 kB / 3.802 GB, free: 16.02 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 postOpt removeSimpleEquations (simulation): time 0.002875/7.697, allocations: 2.269 MB / 3.804 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/7.697, allocations: 0 / 3.804 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/7.698, allocations: 135.8 kB / 3.804 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/7.698, allocations: 4.281 kB / 3.804 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/7.698, allocations: 19.98 kB / 3.804 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/7.698, allocations: 7.938 kB / 3.804 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/7.698, allocations: 7.953 kB / 3.804 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/7.7, allocations: 1.488 MB / 3.805 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/7.7, allocations: 355.3 kB / 3.806 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/7.701, allocations: 11.98 kB / 3.806 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/7.702, allocations: 87.8 kB / 3.806 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/7.702, allocations: 60.23 kB / 3.806 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/7.702, allocations: 31.94 kB / 3.806 GB, free: 11.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001141/7.703, allocations: 0.9659 MB / 3.807 GB, free: 10.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/7.703, allocations: 0 / 3.807 GB, free: 10.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001994/7.705, allocations: 0.6784 MB / 3.808 GB, free: 9.723 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 () * 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.00248/7.708, allocations: 2.129 MB / 3.81 GB, free: 7.508 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001849/7.71, allocations: 1.286 MB / 3.811 GB, free: 6.191 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/7.71, allocations: 0 / 3.811 GB, free: 6.191 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004317/7.71, allocations: 357.4 kB / 3.811 GB, free: 5.844 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/7.713, allocations: 0.4991 MB / 3.812 GB, free: 5.352 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/7.716, allocations: 1.636 MB / 3.813 GB, free: 3.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/7.716, allocations: 1.194 MB / 3.815 GB, free: 2.438 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002228/7.718, allocations: 493 kB / 3.815 GB, free: 1.949 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/7.719, allocations: 95.38 kB / 3.815 GB, free: 1.855 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/7.719, allocations: 3.938 kB / 3.815 GB, free: 1.852 MB / 0.948 GB Notification: Performance of Templates: time 0.5926/8.311, allocations: 35.41 MB / 3.85 GB, free: 169.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)