Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 99.11 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 66.41 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.22, allocations: 114.6 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.6318/0.8519, allocations: 198.8 MB / 0.9781 GB, free: 3.672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.8656, allocations: 8.655 MB / 0.9866 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.8675, allocations: 47.62 kB / 0.9866 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.8696, allocations: 0.691 MB / 0.9873 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.8743, allocations: 1.851 MB / 0.9891 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007923/0.8823, allocations: 3.213 MB / 0.9923 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.8865, allocations: 2.953 MB / 0.9951 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.8886, allocations: 1.474 MB / 0.9966 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.891, allocations: 1.242 MB / 0.9978 GB, free: 15.54 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.8926, allocations: 1.144 MB / 0.9989 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.893, allocations: 192.6 kB / 0.9991 GB, free: 14.2 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.896, allocations: 1.508 MB / 1.001 GB, free: 12.69 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000649/0.8967, allocations: 0.5569 MB / 1.001 GB, free: 12.13 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.8978, allocations: 0.8514 MB / 1.002 GB, free: 11.28 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.9009, allocations: 2.637 MB / 1.005 GB, free: 8.633 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9009, allocations: 3.938 kB / 1.005 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9009, allocations: 4.562 kB / 1.005 GB, free: 8.625 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.901, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.795 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.005525/0.9065, allocations: 2.195 MB / 1.007 GB, free: 6.375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9066, allocations: 12.62 kB / 1.007 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.9077, allocations: 222 kB / 1.007 GB, free: 6.145 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.9102, allocations: 1.342 MB / 1.008 GB, free: 4.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.9104, allocations: 65.86 kB / 1.008 GB, free: 4.688 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.9105, allocations: 83.94 kB / 1.008 GB, free: 4.605 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.9122, allocations: 0.9205 MB / 1.009 GB, free: 3.656 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.9122, allocations: 1.25 kB / 1.009 GB, free: 3.656 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.9123, allocations: 24 kB / 1.009 GB, free: 3.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.9123, allocations: 17.31 kB / 1.009 GB, free: 3.617 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.914, allocations: 0.8288 MB / 1.01 GB, free: 2.785 MB / 0.795 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.006107/0.9201, allocations: 3.509 MB / 1.014 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.9216, allocations: 0.7641 MB / 1.014 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.9224, allocations: 442.5 kB / 1.015 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003974/0.9228, allocations: 283.7 kB / 1.015 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9229, allocations: 46.98 kB / 1.015 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001135/0.924, allocations: 195.3 kB / 1.015 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 4.619e-06/0.924, allocations: 0 / 1.015 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003153/0.9272, allocations: 1.317 MB / 1.016 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.9273, allocations: 214.1 kB / 1.017 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.9301, allocations: 1.675 MB / 1.018 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.9304, allocations: 49.69 kB / 1.018 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007003/0.9311, allocations: 0.5588 MB / 1.019 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.9313, allocations: 182.7 kB / 1.019 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.9317, allocations: 162.1 kB / 1.019 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.9319, allocations: 333.9 kB / 1.02 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.9332, allocations: 393.2 kB / 1.02 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.9348, allocations: 0.6917 MB / 1.021 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.9375, allocations: 0.8237 MB / 1.021 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.9376, allocations: 0 / 1.021 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003799/0.9414, allocations: 1.052 MB / 1.022 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.9414, allocations: 4 kB / 1.022 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.9415, allocations: 0 / 1.022 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.9415, allocations: 4 kB / 1.022 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9428, allocations: 151.8 kB / 1.023 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.9428, allocations: 4 kB / 1.023 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/0.9456, allocations: 124.2 kB / 1.023 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.9459, allocations: 43.94 kB / 1.023 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002063/0.948, allocations: 0.618 MB / 1.023 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001852/0.9498, allocations: 0.7018 MB / 1.024 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002502/0.9524, allocations: 0.8248 MB / 1.025 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.9524, allocations: 0 / 1.025 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00384/0.9563, allocations: 1.034 MB / 1.026 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.9563, allocations: 8 kB / 1.026 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.9564, allocations: 3.984 kB / 1.026 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.9564, allocations: 4 kB / 1.026 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.9578, allocations: 155.7 kB / 1.026 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.9578, allocations: 8 kB / 1.026 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/0.9614, allocations: 161.6 kB / 1.026 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.9617, allocations: 35.95 kB / 1.026 GB, free: 1.66 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004542/0.9622, allocations: 220.1 kB / 1.026 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008824/0.9631, allocations: 134.2 kB / 1.027 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.9674, allocations: 1.034 MB / 1.028 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.9675, allocations: 8 kB / 1.028 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.9675, allocations: 96 / 1.028 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.9675, allocations: 11.92 kB / 1.028 GB, free: 248 kB / 0.8106 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.008329/0.9759, allocations: 2.46 MB / 1.03 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.9759, allocations: 8.219 kB / 1.03 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.9776, allocations: 127.8 kB / 1.03 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.9776, allocations: 8 kB / 1.03 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/0.9777, allocations: 21.8 kB / 1.03 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.9777, allocations: 4 kB / 1.03 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.9777, allocations: 7.938 kB / 1.03 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.9837, allocations: 1.539 MB / 1.032 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.9852, allocations: 343.3 kB / 1.032 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004431/0.9858, allocations: 20 kB / 1.032 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/0.9882, allocations: 71.89 kB / 1.032 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.9884, allocations: 56.31 kB / 1.032 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.9885, allocations: 23.98 kB / 1.032 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003902/0.9925, allocations: 1.199 MB / 1.033 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 7.61e-07/0.9925, allocations: 0 / 1.033 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003166/0.9957, allocations: 0.546 MB / 1.034 GB, free: 9.652 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/0.9968, allocations: 280.8 kB / 1.034 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006302/1.003, allocations: 1.504 MB / 1.036 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/1.003, allocations: 4 kB / 1.036 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/1.005, allocations: 422.1 kB / 1.036 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005608/1.011, allocations: 0.5555 MB / 1.037 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/1.017, allocations: 2.281 MB / 1.039 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/1.019, allocations: 1.165 MB / 1.04 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.02, allocations: 131.4 kB / 1.04 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of SimCode: time 4.809e-06/1.02, allocations: 0 / 1.04 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of Templates: time 0.06079/1.081, allocations: 22.37 MB / 1.062 GB, free: 13.19 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)