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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001385/0.001385, allocations: 184.4 kB / 376.9 MB, free: 1.766 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.747/1.747, allocations: 205 MB / 0.6353 GB, free: 9.766 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.001118/0.001118, allocations: 99.06 kB / 0.748 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.359, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.778/1.137, allocations: 196.5 MB / 1.174 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01395/1.151, allocations: 9.104 MB / 1.183 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/1.153, allocations: 42.28 kB / 1.183 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/1.155, allocations: 0.5749 MB / 1.184 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005008/1.16, allocations: 1.724 MB / 1.185 GB, free: 172 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.007833/1.168, allocations: 2.72 MB / 1.188 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004546/1.173, allocations: 3.61 MB / 1.191 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/1.175, allocations: 1.279 MB / 1.193 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/1.177, allocations: 1.098 MB / 1.194 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/1.178, allocations: 1.113 MB / 1.195 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/1.179, allocations: 90.97 kB / 1.195 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/1.182, allocations: 1.638 MB / 1.197 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005758/1.182, allocations: 467.8 kB / 1.197 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/1.183, allocations: 0.76 MB / 1.198 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/1.187, allocations: 2.663 MB / 1.2 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.187, allocations: 1.031 kB / 1.2 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.675e-06/1.187, allocations: 0 / 1.2 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.868e-05/1.187, allocations: 7.938 kB / 1.2 GB, free: 9.918 MB / 0.7917 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.005725/1.193, allocations: 2.192 MB / 1.203 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.193, allocations: 9.562 kB / 1.203 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/1.194, allocations: 232.5 kB / 1.203 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/1.197, allocations: 1.335 MB / 1.204 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/1.197, allocations: 64.3 kB / 1.204 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.197, allocations: 92.72 kB / 1.204 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/1.199, allocations: 0.9215 MB / 1.205 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.199, allocations: 4 kB / 1.205 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/1.199, allocations: 26.5 kB / 1.205 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/1.199, allocations: 14.78 kB / 1.205 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/1.201, allocations: 0.8217 MB / 1.206 GB, free: 7.047 MB / 0.7917 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.006411/1.207, allocations: 3.493 MB / 1.209 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/1.209, allocations: 0.767 MB / 1.21 GB, free: 4.762 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/1.21, allocations: 443.2 kB / 1.211 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/1.21, allocations: 288.1 kB / 1.211 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/1.21, allocations: 44.12 kB / 1.211 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001544/1.212, allocations: 236 kB / 1.211 GB, free: 4.195 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=52): time 5.641e-06/1.212, allocations: 0 / 1.211 GB, free: 4.195 MB / 0.7917 GB Notification: Performance of matching and sorting (n=52): time 0.003701/1.215, allocations: 1.311 MB / 1.212 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.216, allocations: 215 kB / 1.213 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/1.219, allocations: 1.676 MB / 1.214 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/1.219, allocations: 46.17 kB / 1.214 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005711/1.22, allocations: 0.557 MB / 1.215 GB, free: 2.332 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/1.22, allocations: 186.3 kB / 1.215 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/1.22, allocations: 175 kB / 1.215 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.22, allocations: 331.3 kB / 1.215 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/1.221, allocations: 387.2 kB / 1.216 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.222, allocations: 0.6976 MB / 1.216 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/1.224, allocations: 0.8223 MB / 1.217 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.224, allocations: 4.547 kB / 1.217 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002917/1.227, allocations: 1.037 MB / 1.218 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.227, allocations: 5.594 kB / 1.218 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.227, allocations: 4.828 kB / 1.218 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.227, allocations: 6.344 kB / 1.218 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/1.228, allocations: 155.8 kB / 1.218 GB, free: 488 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.228, allocations: 3.25 kB / 1.218 GB, free: 488 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.23, allocations: 144.5 kB / 1.219 GB, free: 460 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.23, allocations: 33.3 kB / 1.219 GB, free: 456 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001314/1.231, allocations: 0.6255 MB / 1.219 GB, free: 160 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001195/1.233, allocations: 0.689 MB / 1.22 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001706/1.234, allocations: 0.8158 MB / 1.221 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/1.234, allocations: 1.312 kB / 1.221 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002541/1.237, allocations: 1.046 MB / 1.222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.237, allocations: 5.203 kB / 1.222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.237, allocations: 5.031 kB / 1.222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/1.237, allocations: 2.5 kB / 1.222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/1.238, allocations: 152.9 kB / 1.222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.238, allocations: 8.391 kB / 1.222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.24, allocations: 180.2 kB / 1.222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/1.24, allocations: 33.94 kB / 1.222 GB, free: 14.92 MB / 0.8073 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.000338/1.24, allocations: 227.3 kB / 1.222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.241, allocations: 134.1 kB / 1.222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/1.243, allocations: 1.032 MB / 1.223 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.243, allocations: 10.62 kB / 1.223 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.243, allocations: 0 / 1.223 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.243, allocations: 4.453 kB / 1.223 GB, free: 14.22 MB / 0.8073 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.004654/1.248, allocations: 2.466 MB / 1.226 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.248, allocations: 2.406 kB / 1.226 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/1.248, allocations: 124.9 kB / 1.226 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/1.248, allocations: 5.203 kB / 1.226 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/1.249, allocations: 19.02 kB / 1.226 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.249, allocations: 8.922 kB / 1.226 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.249, allocations: 9.344 kB / 1.226 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007462/1.256, allocations: 4.534 MB / 1.23 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/1.257, allocations: 347.1 kB / 1.231 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.257, allocations: 20.77 kB / 1.231 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.258, allocations: 96.59 kB / 1.231 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.258, allocations: 54.67 kB / 1.231 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/1.258, allocations: 22.97 kB / 1.231 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002155/1.261, allocations: 1.201 MB / 1.232 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.01e-07/1.261, allocations: 0 / 1.232 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002758/1.263, allocations: 0.7514 MB / 1.233 GB, free: 9.547 MB / 0.8073 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.0006787/1.264, allocations: 277.1 kB / 1.233 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002948/1.267, allocations: 1.432 MB / 1.235 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.267, allocations: 0 / 1.235 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/1.268, allocations: 422.6 kB / 1.235 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.271, allocations: 0.5977 MB / 1.236 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/1.276, allocations: 2.969 MB / 1.238 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/1.277, allocations: 1.199 MB / 1.24 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00212/1.279, allocations: 380.1 kB / 1.24 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/1.279, allocations: 125.6 kB / 1.24 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of SimCode: time 2.345e-06/1.279, allocations: 3.938 kB / 1.24 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of Templates: time 0.04882/1.328, allocations: 29.11 MB / 1.269 GB, free: 13.76 MB / 0.8386 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)