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.001311/0.001311, allocations: 106.2 kB / 16.36 MB, free: 6.301 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.001239/0.001239, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.489/1.489, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.00144/0.001441, allocations: 78.23 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2483, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.6718/0.9201, allocations: 198.8 MB / 0.9789 GB, free: 3.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.9388, allocations: 8.661 MB / 0.9874 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.9412, allocations: 43.62 kB / 0.9874 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.9435, allocations: 0.6949 MB / 0.9881 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.9489, allocations: 1.843 MB / 0.9899 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008127/0.957, allocations: 3.242 MB / 0.993 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004568/0.9616, allocations: 2.966 MB / 0.9959 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.964, allocations: 1.484 MB / 0.9974 GB, free: 216 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.9665, allocations: 1.234 MB / 0.9986 GB, free: 14.97 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.9685, allocations: 1.16 MB / 0.9997 GB, free: 13.81 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.9689, allocations: 192 kB / 0.9999 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.9721, allocations: 1.512 MB / 1.001 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007097/0.9728, allocations: 0.553 MB / 1.002 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.9739, allocations: 0.8553 MB / 1.003 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.9781, allocations: 2.668 MB / 1.005 GB, free: 8.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.9782, allocations: 0 / 1.005 GB, free: 8.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9782, allocations: 0 / 1.005 GB, free: 8.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.9782, allocations: 0.75 kB / 1.005 GB, free: 8.016 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.005736/0.984, allocations: 2.191 MB / 1.008 GB, free: 5.77 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.984, allocations: 8.625 kB / 1.008 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.9851, allocations: 234 kB / 1.008 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.9877, allocations: 1.369 MB / 1.009 GB, free: 4.109 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.9878, allocations: 57.31 kB / 1.009 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.988, allocations: 87.86 kB / 1.009 GB, free: 3.969 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.9897, allocations: 0.9178 MB / 1.01 GB, free: 3.023 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.9897, allocations: 0 / 1.01 GB, free: 3.023 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.9898, allocations: 24 kB / 1.01 GB, free: 3 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.9898, allocations: 16 kB / 1.01 GB, free: 2.984 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.9916, allocations: 0.8327 MB / 1.011 GB, free: 2.148 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.006515/0.9981, allocations: 3.501 MB / 1.014 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9996, allocations: 0.7609 MB / 1.015 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/1, allocations: 439.2 kB / 1.016 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/1.001, allocations: 295.7 kB / 1.016 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.001, allocations: 42.94 kB / 1.016 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001105/1.002, allocations: 195.3 kB / 1.016 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 3.306e-06/1.002, allocations: 0 / 1.016 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003058/1.005, allocations: 1.309 MB / 1.017 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.005, allocations: 219.1 kB / 1.018 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/1.008, allocations: 1.679 MB / 1.019 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.008, allocations: 45.69 kB / 1.019 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000525/1.009, allocations: 0.5503 MB / 1.02 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.009, allocations: 181.4 kB / 1.02 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/1.009, allocations: 166.1 kB / 1.02 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.009, allocations: 333.9 kB / 1.02 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008542/1.01, allocations: 390.8 kB / 1.021 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.011, allocations: 0.6995 MB / 1.021 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.013, allocations: 0.8198 MB / 1.022 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.013, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00238/1.015, allocations: 1.053 MB / 1.023 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.015, allocations: 4 kB / 1.023 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.015, allocations: 0.5469 kB / 1.023 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.015, allocations: 7.984 kB / 1.023 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/1.016, allocations: 155.7 kB / 1.023 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/1.016, allocations: 7.984 kB / 1.023 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.018, allocations: 123 kB / 1.024 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/1.018, allocations: 31.91 kB / 1.024 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001214/1.019, allocations: 0.6205 MB / 1.024 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/1.021, allocations: 0.7001 MB / 1.025 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001564/1.022, allocations: 0.8259 MB / 1.026 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/1.022, allocations: 0 / 1.026 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002462/1.025, allocations: 1.043 MB / 1.027 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.025, allocations: 4 kB / 1.027 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.025, allocations: 8 kB / 1.027 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/1.025, allocations: 0 / 1.027 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/1.026, allocations: 151.8 kB / 1.027 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.026, allocations: 4 kB / 1.027 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.028, allocations: 163.7 kB / 1.027 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/1.028, allocations: 35.95 kB / 1.027 GB, free: 1.035 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.0003024/1.028, allocations: 228.1 kB / 1.027 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/1.028, allocations: 134.3 kB / 1.027 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/1.031, allocations: 1.022 MB / 1.028 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.031, allocations: 15.98 kB / 1.028 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.031, allocations: 3.938 kB / 1.028 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.031, allocations: 3.984 kB / 1.028 GB, free: 15.62 MB / 0.8262 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.004108/1.035, allocations: 2.476 MB / 1.031 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.035, allocations: 3.938 kB / 1.031 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/1.036, allocations: 127.8 kB / 1.031 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/1.036, allocations: 6.875 kB / 1.031 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/1.036, allocations: 19.98 kB / 1.031 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/1.036, allocations: 4 kB / 1.031 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.036, allocations: 4 kB / 1.031 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.039, allocations: 1.536 MB / 1.033 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007205/1.039, allocations: 351.1 kB / 1.033 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.04, allocations: 16 kB / 1.033 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.041, allocations: 75.89 kB / 1.033 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.041, allocations: 52.31 kB / 1.033 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/1.041, allocations: 23.98 kB / 1.033 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001961/1.043, allocations: 1.207 MB / 1.034 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/1.043, allocations: 4 kB / 1.034 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001746/1.045, allocations: 0.5421 MB / 1.035 GB, free: 9.016 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.0006806/1.046, allocations: 280.2 kB / 1.035 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002873/1.048, allocations: 1.426 MB / 1.036 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.048, allocations: 4 kB / 1.036 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008175/1.049, allocations: 422.7 kB / 1.037 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.052, allocations: 0.5582 MB / 1.037 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/1.056, allocations: 2.24 MB / 1.04 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/1.057, allocations: 1.169 MB / 1.041 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005987/1.057, allocations: 127.4 kB / 1.041 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/1.057, allocations: 0 / 1.041 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of Templates: time 0.0363/1.094, allocations: 22.39 MB / 1.063 GB, free: 12.64 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)