Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.379/2.379, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001523/0.001522, allocations: 177.5 kB / 325.8 MB, free: 2.781 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.59/2.59, allocations: 205.4 MB / 0.5767 GB, free: 20.75 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.001029/0.001028, allocations: 96.66 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005121, allocations: 12.31 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 106.3 MB / 0.899 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 1.102/1.348, allocations: 181.1 MB / 1.076 GB, free: 4.191 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02074/1.369, allocations: 8.389 MB / 1.084 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/1.371, allocations: 39.25 kB / 1.084 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002536/1.374, allocations: 466.2 kB / 1.085 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006136/1.38, allocations: 1.352 MB / 1.086 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01153/1.392, allocations: 2.396 MB / 1.088 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006051/1.398, allocations: 3.126 MB / 1.091 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002744/1.401, allocations: 1.187 MB / 1.092 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/1.404, allocations: 1.054 MB / 1.093 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/1.407, allocations: 1.025 MB / 1.094 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007493/1.408, allocations: 77.75 kB / 1.095 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004269/1.412, allocations: 0.9796 MB / 1.096 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/1.414, allocations: 440.6 kB / 1.096 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/1.415, allocations: 288.8 kB / 1.096 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00476/1.42, allocations: 1.989 MB / 1.098 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/1.42, allocations: 0 / 1.098 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.198e-06/1.42, allocations: 0 / 1.098 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.726e-05/1.42, allocations: 2.906 kB / 1.098 GB, free: 19.45 MB / 0.7136 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.008896/1.429, allocations: 1.886 MB / 1.1 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.429, allocations: 12.56 kB / 1.1 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/1.431, allocations: 235.7 kB / 1.1 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/1.434, allocations: 1.279 MB / 1.101 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002893/1.435, allocations: 68.12 kB / 1.102 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/1.435, allocations: 82.5 kB / 1.102 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/1.437, allocations: 0.9301 MB / 1.103 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.437, allocations: 0 / 1.103 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.438, allocations: 28.75 kB / 1.103 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/1.438, allocations: 15.66 kB / 1.103 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/1.44, allocations: 0.8511 MB / 1.103 GB, free: 17.94 MB / 0.7136 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.009002/1.449, allocations: 3.506 MB / 1.107 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/1.452, allocations: 0.7782 MB / 1.108 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/1.453, allocations: 451.5 kB / 1.108 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/1.454, allocations: 295.8 kB / 1.108 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/1.454, allocations: 47.66 kB / 1.108 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002189/1.456, allocations: 237.7 kB / 1.109 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.798e-06/1.456, allocations: 0 / 1.109 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.00481/1.461, allocations: 1.339 MB / 1.11 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.461, allocations: 217.2 kB / 1.11 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/1.465, allocations: 1.669 MB / 1.112 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003411/1.465, allocations: 42.3 kB / 1.112 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/1.466, allocations: 0.5583 MB / 1.112 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/1.466, allocations: 185.5 kB / 1.112 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/1.466, allocations: 9.719 kB / 1.112 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.467, allocations: 326.7 kB / 1.113 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/1.468, allocations: 389.7 kB / 1.113 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.469, allocations: 0.6932 MB / 1.114 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/1.471, allocations: 467.8 kB / 1.114 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.471, allocations: 7.938 kB / 1.114 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003677/1.475, allocations: 1.054 MB / 1.115 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.753e-05/1.475, allocations: 95.62 kB / 1.115 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.475, allocations: 2.906 kB / 1.115 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.475, allocations: 6.938 kB / 1.115 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.476, allocations: 161 kB / 1.116 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.476, allocations: 2.469 kB / 1.116 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00319/1.48, allocations: 158.1 kB / 1.116 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.48, allocations: 33.98 kB / 1.116 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.48, allocations: 9.812 kB / 1.116 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002863/1.483, allocations: 0.8956 MB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.483, allocations: 5.25 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/1.483, allocations: 2.844 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.484, allocations: 155.1 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/1.484, allocations: 6.969 kB / 1.117 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/1.488, allocations: 163 kB / 1.117 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.488, allocations: 35.12 kB / 1.117 GB, free: 14.65 MB / 0.7136 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.000889/1.489, allocations: 377.1 kB / 1.117 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/1.489, allocations: 139.8 kB / 1.118 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/1.492, allocations: 1.058 MB / 1.119 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.492, allocations: 8.562 kB / 1.119 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.492, allocations: 3.984 kB / 1.119 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/1.493, allocations: 2.906 kB / 1.119 GB, free: 14.29 MB / 0.7136 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.006096/1.499, allocations: 2.489 MB / 1.121 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.499, allocations: 2.281 kB / 1.121 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/1.5, allocations: 136.3 kB / 1.121 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/1.5, allocations: 9.5 kB / 1.121 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/1.5, allocations: 21.14 kB / 1.121 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/1.5, allocations: 10.84 kB / 1.121 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.5, allocations: 8.562 kB / 1.121 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/1.505, allocations: 1.563 MB / 1.123 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.506, allocations: 343.6 kB / 1.123 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/1.507, allocations: 19.62 kB / 1.123 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.509, allocations: 104.5 kB / 1.123 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/1.509, allocations: 51.02 kB / 1.123 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/1.509, allocations: 21.72 kB / 1.123 GB, free: 13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002979/1.512, allocations: 1.191 MB / 1.124 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.82e-07/1.512, allocations: 4 kB / 1.124 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002397/1.515, allocations: 0.5456 MB / 1.125 GB, free: 12.67 MB / 0.7136 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.0008127/1.516, allocations: 274 kB / 1.125 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004309/1.52, allocations: 1.44 MB / 1.127 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.52, allocations: 1.781 kB / 1.127 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.521, allocations: 437.2 kB / 1.127 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/1.527, allocations: 0.5978 MB / 1.128 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/1.533, allocations: 2.531 MB / 1.13 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009287/1.534, allocations: 1.165 MB / 1.131 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002865/1.536, allocations: 379.7 kB / 1.132 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/1.537, allocations: 127.1 kB / 1.132 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.537, allocations: 0 / 1.132 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.07246/1.61, allocations: 27.04 MB / 1.158 GB, free: 7.074 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)