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.001161/0.001161, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001111/0.001111, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001635/0.001635, allocations: 67.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2675, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.647/0.9146, allocations: 198.8 MB / 0.9789 GB, free: 3.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.9305, allocations: 8.664 MB / 0.9873 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.9327, allocations: 47.62 kB / 0.9874 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.9349, allocations: 0.6949 MB / 0.9881 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.9401, allocations: 1.847 MB / 0.9899 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008597/0.9487, allocations: 3.238 MB / 0.993 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004428/0.9532, allocations: 2.969 MB / 0.9959 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.9554, allocations: 1.479 MB / 0.9974 GB, free: 288 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.9576, allocations: 1.242 MB / 0.9986 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.9592, allocations: 1.144 MB / 0.9997 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.9595, allocations: 188.6 kB / 0.9999 GB, free: 13.7 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.9625, allocations: 1.516 MB / 1.001 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006199/0.9632, allocations: 0.553 MB / 1.002 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009673/0.9642, allocations: 0.8631 MB / 1.003 GB, free: 10.76 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.9678, allocations: 2.66 MB / 1.005 GB, free: 8.094 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9679, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9679, allocations: 0.5625 kB / 1.005 GB, free: 8.094 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.114e-05/0.9679, allocations: 0 / 1.005 GB, free: 8.094 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.005777/0.9737, allocations: 2.195 MB / 1.007 GB, free: 5.844 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9738, allocations: 8.625 kB / 1.008 GB, free: 5.836 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.9748, allocations: 238 kB / 1.008 GB, free: 5.602 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.9772, allocations: 1.33 MB / 1.009 GB, free: 4.219 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.9774, allocations: 73.86 kB / 1.009 GB, free: 4.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.9776, allocations: 87.92 kB / 1.009 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.9793, allocations: 0.9205 MB / 1.01 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.9793, allocations: 0 / 1.01 GB, free: 3.113 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/0.9794, allocations: 28 kB / 1.01 GB, free: 3.086 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.9794, allocations: 17.31 kB / 1.01 GB, free: 3.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.9811, allocations: 0.825 MB / 1.011 GB, free: 2.242 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.005925/0.9871, allocations: 3.484 MB / 1.014 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.9886, allocations: 0.7628 MB / 1.015 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/0.9894, allocations: 445.2 kB / 1.016 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.9899, allocations: 295.7 kB / 1.016 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.9899, allocations: 39 kB / 1.016 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/0.991, allocations: 199.3 kB / 1.016 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 3.837e-06/0.991, allocations: 0 / 1.016 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003006/0.994, allocations: 1.313 MB / 1.017 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.9942, allocations: 218 kB / 1.018 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/0.9977, allocations: 1.679 MB / 1.019 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.9979, allocations: 41.7 kB / 1.019 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.9985, allocations: 0.5464 MB / 1.02 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.9987, allocations: 182.5 kB / 1.02 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/0.9991, allocations: 174 kB / 1.02 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.9993, allocations: 329.9 kB / 1.02 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008404/1, allocations: 394.8 kB / 1.021 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.001, allocations: 0.6878 MB / 1.021 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.003, allocations: 0.8198 MB / 1.022 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.003, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002308/1.005, allocations: 1.052 MB / 1.023 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.005, allocations: 4 kB / 1.023 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/1.005, allocations: 11.92 kB / 1.023 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.005, allocations: 0.5469 kB / 1.023 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/1.006, allocations: 151.8 kB / 1.023 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.006, allocations: 8.562 kB / 1.023 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.008, allocations: 120.7 kB / 1.024 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.008, allocations: 31.97 kB / 1.024 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001208/1.009, allocations: 0.6258 MB / 1.024 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/1.01, allocations: 0.7001 MB / 1.025 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001571/1.012, allocations: 0.8239 MB / 1.026 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/1.012, allocations: 0 / 1.026 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002388/1.014, allocations: 1.039 MB / 1.027 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.014, allocations: 4 kB / 1.027 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.014, allocations: 4 kB / 1.027 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/1.014, allocations: 4 kB / 1.027 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/1.015, allocations: 151.7 kB / 1.027 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.015, allocations: 8 kB / 1.027 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.017, allocations: 166 kB / 1.027 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/1.017, allocations: 35.95 kB / 1.027 GB, free: 1.148 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.0002821/1.018, allocations: 216.1 kB / 1.027 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/1.018, allocations: 138.3 kB / 1.027 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/1.02, allocations: 1.03 MB / 1.028 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/1.02, allocations: 11.94 kB / 1.028 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.02, allocations: 0 / 1.028 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.02, allocations: 3.984 kB / 1.028 GB, free: 15.74 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.004387/1.025, allocations: 2.476 MB / 1.031 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.025, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/1.026, allocations: 131.8 kB / 1.031 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.026, allocations: 8.281 kB / 1.031 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/1.026, allocations: 19.98 kB / 1.031 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/1.026, allocations: 4 kB / 1.031 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.026, allocations: 7.5 kB / 1.031 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/1.028, allocations: 1.524 MB / 1.032 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/1.029, allocations: 351.2 kB / 1.033 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/1.029, allocations: 19.98 kB / 1.033 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.031, allocations: 71.91 kB / 1.033 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.031, allocations: 52.31 kB / 1.033 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/1.031, allocations: 27.92 kB / 1.033 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002046/1.033, allocations: 1.203 MB / 1.034 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 1.034 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001718/1.035, allocations: 0.5499 MB / 1.035 GB, free: 9.141 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.0006573/1.035, allocations: 273.7 kB / 1.035 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002865/1.038, allocations: 1.43 MB / 1.036 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.038, allocations: 0 / 1.036 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000819/1.039, allocations: 430.1 kB / 1.037 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.042, allocations: 0.5499 MB / 1.037 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/1.045, allocations: 2.176 MB / 1.039 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/1.046, allocations: 1.169 MB / 1.041 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001401/1.048, allocations: 376.1 kB / 1.041 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/1.048, allocations: 127.4 kB / 1.041 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/1.048, allocations: 0 / 1.041 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.049/1.097, allocations: 29 MB / 1.069 GB, free: 6 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)