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.001234/0.001234, allocations: 107.5 kB / 15.99 MB, free: 6.348 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.001279/0.001279, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.377/1.377, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.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.7/1.7, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001325/0.001325, allocations: 71.62 kB / 0.6716 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1937, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.6383/0.832, allocations: 196.2 MB / 0.9751 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.847, allocations: 8.707 MB / 0.9836 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.8502, allocations: 44.38 kB / 0.9837 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.8528, allocations: 0.5987 MB / 0.9842 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.8582, allocations: 1.733 MB / 0.9859 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00902/0.8672, allocations: 2.952 MB / 0.9888 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004992/0.8722, allocations: 2.962 MB / 0.9917 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.875, allocations: 1.457 MB / 0.9931 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.8781, allocations: 1.262 MB / 0.9944 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.8802, allocations: 1.183 MB / 0.9955 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005196/0.8807, allocations: 188.7 kB / 0.9957 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.8845, allocations: 1.552 MB / 0.9972 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007157/0.8853, allocations: 0.5559 MB / 0.9978 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.8866, allocations: 0.8571 MB / 0.9986 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.8901, allocations: 2.08 MB / 1.001 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.8901, allocations: 2.672 kB / 1.001 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8901, allocations: 2.531 kB / 1.001 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.642e-05/0.8902, allocations: 0 / 1.001 GB, free: 1.164 MB / 0.7325 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.00662/0.8968, allocations: 2.2 MB / 1.003 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.8969, allocations: 8.562 kB / 1.003 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.8981, allocations: 231.5 kB / 1.003 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.9008, allocations: 1.332 MB / 1.004 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.901, allocations: 65.64 kB / 1.004 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.9012, allocations: 88.38 kB / 1.004 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.903, allocations: 0.923 MB / 1.005 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.903, allocations: 0 / 1.005 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/0.9031, allocations: 26.81 kB / 1.005 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.9031, allocations: 17.97 kB / 1.005 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.9047, allocations: 0.8256 MB / 1.006 GB, free: 14.35 MB / 0.7481 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.006942/0.9117, allocations: 3.487 MB / 1.01 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.9131, allocations: 0.7698 MB / 1.01 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/0.9139, allocations: 437.8 kB / 1.011 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004108/0.9143, allocations: 294 kB / 1.011 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.9144, allocations: 44.69 kB / 1.011 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001496/0.9159, allocations: 235.7 kB / 1.011 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=52): time 3.747e-06/0.9159, allocations: 0 / 1.011 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=52): time 0.003163/0.9191, allocations: 1.305 MB / 1.013 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.9192, allocations: 214.3 kB / 1.013 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/0.9221, allocations: 1.687 MB / 1.014 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.9223, allocations: 40.45 kB / 1.014 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.9228, allocations: 0.5536 MB / 1.015 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.923, allocations: 178.3 kB / 1.015 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.9233, allocations: 172.8 kB / 1.015 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9235, allocations: 329.5 kB / 1.016 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.9242, allocations: 395.5 kB / 1.016 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.9253, allocations: 0.6918 MB / 1.017 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.9268, allocations: 0.823 MB / 1.018 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9268, allocations: 0 / 1.018 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002444/0.9292, allocations: 1.041 MB / 1.019 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.9293, allocations: 10.14 kB / 1.019 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.9293, allocations: 2.438 kB / 1.019 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.9293, allocations: 0 / 1.019 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/0.9302, allocations: 155.6 kB / 1.019 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.9302, allocations: 0 / 1.019 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.9323, allocations: 150.7 kB / 1.019 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9325, allocations: 31.73 kB / 1.019 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001222/0.9337, allocations: 0.6248 MB / 1.019 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001076/0.9348, allocations: 0.6967 MB / 1.02 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/0.9363, allocations: 0.8252 MB / 1.021 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-06/0.9363, allocations: 0 / 1.021 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002506/0.9388, allocations: 1.041 MB / 1.022 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.9388, allocations: 6.25 kB / 1.022 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.9389, allocations: 2.25 kB / 1.022 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.9389, allocations: 2.781 kB / 1.022 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008231/0.9397, allocations: 156.5 kB / 1.022 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9397, allocations: 3.406 kB / 1.022 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.9421, allocations: 192.3 kB / 1.022 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.9422, allocations: 34.11 kB / 1.022 GB, free: 4.391 MB / 0.7481 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.0003249/0.9426, allocations: 223.5 kB / 1.023 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006116/0.9432, allocations: 134.8 kB / 1.023 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.9455, allocations: 1.033 MB / 1.024 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.9455, allocations: 7.875 kB / 1.024 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9455, allocations: 96 / 1.024 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.9456, allocations: 7.922 kB / 1.024 GB, free: 3.516 MB / 0.7481 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.0046/0.9502, allocations: 2.464 MB / 1.026 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.9502, allocations: 2.938 kB / 1.026 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.951, allocations: 128.8 kB / 1.026 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.951, allocations: 9 kB / 1.026 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.951, allocations: 17.28 kB / 1.026 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.9511, allocations: 3.406 kB / 1.026 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9511, allocations: 5.875 kB / 1.026 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.954, allocations: 1.54 MB / 1.028 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/0.955, allocations: 341.7 kB / 1.028 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.9553, allocations: 15.94 kB / 1.028 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.9568, allocations: 97 kB / 1.028 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.957, allocations: 52.41 kB / 1.028 GB, free: 484 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.9571, allocations: 26.11 kB / 1.028 GB, free: 476 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002006/0.9591, allocations: 1.199 MB / 1.029 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9591, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002057/0.9612, allocations: 0.5493 MB / 1.03 GB, free: 15.73 MB / 0.7637 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.0007384/0.9619, allocations: 273.6 kB / 1.03 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.965, allocations: 1.507 MB / 1.032 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.965, allocations: 0 / 1.032 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.9658, allocations: 425.6 kB / 1.032 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.9688, allocations: 0.5588 MB / 1.033 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.9731, allocations: 2.666 MB / 1.035 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/0.9739, allocations: 1.162 MB / 1.036 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008253/0.9748, allocations: 138.5 kB / 1.037 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of SimCode: time 7.82e-07/0.9748, allocations: 0 / 1.037 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of Templates: time 0.03757/1.012, allocations: 22.36 MB / 1.058 GB, free: 5.414 MB / 0.7794 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)