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.823/1.823, allocations: 288.4 MB / 303.4 MB, free: 8.152 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.00189/0.00189, allocations: 188.5 kB / 372 MB, free: 10.28 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.827/1.827, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008392/0.0008397, allocations: 94.36 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 15.83 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2688, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.887/1.156, allocations: 180.9 MB / 1.156 GB, free: 6.363 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01941/1.175, allocations: 8.32 MB / 1.164 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/1.178, allocations: 40.06 kB / 1.164 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/1.181, allocations: 465.7 kB / 1.165 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005641/1.186, allocations: 1.35 MB / 1.166 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009623/1.196, allocations: 2.399 MB / 1.168 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007142/1.203, allocations: 3.094 MB / 1.172 GB, free: 11 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/1.206, allocations: 1.151 MB / 1.173 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/1.209, allocations: 1.055 MB / 1.174 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/1.211, allocations: 1.037 MB / 1.175 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003749/1.212, allocations: 77.81 kB / 1.175 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/1.215, allocations: 0.9755 MB / 1.176 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007207/1.216, allocations: 441.7 kB / 1.176 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008037/1.217, allocations: 284.5 kB / 1.176 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0033/1.22, allocations: 1.989 MB / 1.178 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.22, allocations: 0 / 1.178 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.335e-06/1.22, allocations: 0 / 1.178 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.461e-05/1.22, allocations: 1.75 kB / 1.178 GB, free: 6.664 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.005849/1.226, allocations: 1.898 MB / 1.18 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.226, allocations: 10.56 kB / 1.18 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/1.227, allocations: 231.3 kB / 1.18 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/1.23, allocations: 1.279 MB / 1.182 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/1.23, allocations: 68.05 kB / 1.182 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/1.23, allocations: 89.14 kB / 1.182 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/1.232, allocations: 0.9254 MB / 1.183 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/1.232, allocations: 4 kB / 1.183 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/1.232, allocations: 29.27 kB / 1.183 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/1.232, allocations: 14 kB / 1.183 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/1.234, allocations: 0.8472 MB / 1.184 GB, free: 3.195 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.00599/1.24, allocations: 3.502 MB / 1.187 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.241, allocations: 0.785 MB / 1.188 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/1.242, allocations: 452.2 kB / 1.188 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004414/1.243, allocations: 290 kB / 1.188 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/1.243, allocations: 44.36 kB / 1.189 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/1.244, allocations: 234.9 kB / 1.189 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 3.968e-06/1.244, allocations: 2.188 kB / 1.189 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.003094/1.247, allocations: 1.348 MB / 1.19 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/1.247, allocations: 214 kB / 1.19 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/1.25, allocations: 1.665 MB / 1.192 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/1.25, allocations: 45.7 kB / 1.192 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000545/1.251, allocations: 0.56 MB / 1.192 GB, free: 13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/1.251, allocations: 183.3 kB / 1.193 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/1.251, allocations: 8 kB / 1.193 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.251, allocations: 323.9 kB / 1.193 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/1.252, allocations: 388.3 kB / 1.193 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.253, allocations: 0.695 MB / 1.194 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/1.254, allocations: 469.4 kB / 1.194 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.254, allocations: 3.953 kB / 1.194 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002205/1.256, allocations: 1.058 MB / 1.196 GB, free: 11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/1.256, allocations: 96.42 kB / 1.196 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/1.256, allocations: 2.812 kB / 1.196 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.256, allocations: 5.734 kB / 1.196 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/1.257, allocations: 165.9 kB / 1.196 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/1.257, allocations: 2.562 kB / 1.196 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.259, allocations: 156.5 kB / 1.196 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/1.259, allocations: 31.69 kB / 1.196 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.259, allocations: 5.031 kB / 1.196 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001804/1.261, allocations: 0.8942 MB / 1.197 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.261, allocations: 10.41 kB / 1.197 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/1.261, allocations: 6.094 kB / 1.197 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/1.262, allocations: 161.6 kB / 1.197 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.262, allocations: 2.625 kB / 1.197 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.264, allocations: 162.7 kB / 1.197 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.9e-05/1.264, allocations: 35.98 kB / 1.197 GB, free: 10.19 MB / 0.7292 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.0007561/1.265, allocations: 379.5 kB / 1.198 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/1.265, allocations: 137.3 kB / 1.198 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/1.268, allocations: 1.051 MB / 1.199 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.268, allocations: 12.72 kB / 1.199 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.268, allocations: 4 kB / 1.199 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.268, allocations: 3.984 kB / 1.199 GB, free: 9.219 MB / 0.7292 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.004809/1.272, allocations: 2.483 MB / 1.201 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.272, allocations: 0 / 1.201 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/1.273, allocations: 140.1 kB / 1.201 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/1.273, allocations: 8 kB / 1.201 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/1.273, allocations: 20 kB / 1.201 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/1.273, allocations: 7.984 kB / 1.201 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.273, allocations: 7.953 kB / 1.201 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/1.276, allocations: 1.554 MB / 1.203 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/1.277, allocations: 359.2 kB / 1.203 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/1.278, allocations: 12 kB / 1.203 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.279, allocations: 99.73 kB / 1.203 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.279, allocations: 56.25 kB / 1.203 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/1.279, allocations: 24 kB / 1.203 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002211/1.282, allocations: 1.191 MB / 1.205 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/1.282, allocations: 4 kB / 1.205 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002353/1.284, allocations: 0.5461 MB / 1.205 GB, free: 3.246 MB / 0.7292 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.0008511/1.285, allocations: 278.1 kB / 1.205 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003282/1.288, allocations: 1.441 MB / 1.207 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.288, allocations: 8 kB / 1.207 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008554/1.289, allocations: 434.7 kB / 1.207 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/1.293, allocations: 0.5964 MB / 1.208 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005494/1.298, allocations: 2.529 MB / 1.21 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.299, allocations: 1.165 MB / 1.211 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002017/1.301, allocations: 381.6 kB / 1.212 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/1.302, allocations: 131.3 kB / 1.212 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of SimCode: time 1.412e-06/1.302, allocations: 0 / 1.212 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.05279/1.355, allocations: 27.08 MB / 1.238 GB, free: 1.395 MB / 0.7605 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)