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.0008283/0.0008283, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006804/0.006804, allocations: 172 kB / 16.26 MB, free: 6.613 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.7/1.7, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.743/1.743, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0008012/0.0008014, allocations: 15.91 kB / 0.6743 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3968, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8905/1.287, allocations: 193.9 MB / 0.9772 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01596/1.303, allocations: 8.989 MB / 0.986 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/1.306, allocations: 42.41 kB / 0.986 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/1.308, allocations: 0.5832 MB / 0.9866 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005657/1.314, allocations: 1.721 MB / 0.9883 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/1.325, allocations: 2.739 MB / 0.991 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005888/1.331, allocations: 3.599 MB / 0.9945 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/1.333, allocations: 1.248 MB / 0.9957 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/1.336, allocations: 1.062 MB / 0.9967 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/1.338, allocations: 1.079 MB / 0.9978 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/1.338, allocations: 77.09 kB / 0.9979 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/1.342, allocations: 1.626 MB / 0.9995 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006325/1.342, allocations: 450 kB / 0.9999 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/1.343, allocations: 0.7576 MB / 1.001 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/1.348, allocations: 2.618 MB / 1.003 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.348, allocations: 0 / 1.003 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.976e-06/1.348, allocations: 0 / 1.003 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.802e-05/1.348, allocations: 0 / 1.003 GB, free: 3.383 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.005454/1.353, allocations: 1.882 MB / 1.005 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.354, allocations: 10.62 kB / 1.005 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/1.355, allocations: 227.5 kB / 1.005 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/1.357, allocations: 1.338 MB / 1.007 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/1.357, allocations: 67.77 kB / 1.007 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/1.358, allocations: 86.98 kB / 1.007 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/1.36, allocations: 0.9314 MB / 1.008 GB, free: 348 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.36, allocations: 4 kB / 1.008 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/1.36, allocations: 25.34 kB / 1.008 GB, free: 324 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/1.36, allocations: 20.66 kB / 1.008 GB, free: 320 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/1.361, allocations: 0.8513 MB / 1.008 GB, free: 15.91 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.006067/1.367, allocations: 3.507 MB / 1.012 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/1.369, allocations: 0.7797 MB / 1.013 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/1.37, allocations: 456.5 kB / 1.013 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/1.37, allocations: 290.6 kB / 1.013 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.37, allocations: 42.08 kB / 1.013 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001199/1.371, allocations: 240.2 kB / 1.014 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=52): time 3.196e-06/1.371, allocations: 0 / 1.014 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=52): time 0.002904/1.374, allocations: 1.354 MB / 1.015 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.374, allocations: 212.2 kB / 1.015 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/1.377, allocations: 1.677 MB / 1.017 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.377, allocations: 43.55 kB / 1.017 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/1.378, allocations: 0.5639 MB / 1.017 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/1.378, allocations: 177.4 kB / 1.018 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.378, allocations: 50.75 kB / 1.018 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.378, allocations: 337.5 kB / 1.018 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/1.379, allocations: 393.2 kB / 1.018 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/1.38, allocations: 0.7045 MB / 1.019 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/1.382, allocations: 0.8471 MB / 1.02 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.382, allocations: 0 / 1.02 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002323/1.384, allocations: 1.074 MB / 1.021 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.375e-05/1.384, allocations: 107.3 kB / 1.021 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.384, allocations: 2 kB / 1.021 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.384, allocations: 3 kB / 1.021 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/1.385, allocations: 157.6 kB / 1.021 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/1.385, allocations: 14.88 kB / 1.021 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.387, allocations: 158.7 kB / 1.021 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/1.387, allocations: 38.48 kB / 1.021 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-06/1.387, allocations: 2.969 kB / 1.021 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001747/1.389, allocations: 0.8981 MB / 1.022 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.389, allocations: 6.781 kB / 1.022 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/1.389, allocations: 1.75 kB / 1.022 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/1.39, allocations: 161.8 kB / 1.022 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.39, allocations: 2.938 kB / 1.022 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.391, allocations: 158.9 kB / 1.023 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/1.391, allocations: 31.5 kB / 1.023 GB, free: 6.723 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.0008295/1.392, allocations: 392.6 kB / 1.023 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/1.393, allocations: 133.6 kB / 1.023 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.395, allocations: 1.057 MB / 1.024 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.395, allocations: 6.219 kB / 1.024 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/1.395, allocations: 0 / 1.024 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/1.395, allocations: 0 / 1.024 GB, free: 5.75 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.004006/1.399, allocations: 2.494 MB / 1.027 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/1.399, allocations: 6.844 kB / 1.027 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/1.4, allocations: 133.9 kB / 1.027 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/1.4, allocations: 13.11 kB / 1.027 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/1.4, allocations: 20.27 kB / 1.027 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/1.4, allocations: 6.5 kB / 1.027 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.4, allocations: 2.906 kB / 1.027 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/1.403, allocations: 1.57 MB / 1.028 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/1.403, allocations: 353.8 kB / 1.029 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.404, allocations: 17.42 kB / 1.029 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.405, allocations: 104 kB / 1.029 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.405, allocations: 42.03 kB / 1.029 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/1.405, allocations: 24.86 kB / 1.029 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002289/1.407, allocations: 1.201 MB / 1.03 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/1.407, allocations: 3.938 kB / 1.03 GB, free: 2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001967/1.409, allocations: 0.5525 MB / 1.03 GB, free: 1.91 MB / 0.7481 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.0007707/1.41, allocations: 274.7 kB / 1.031 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003399/1.414, allocations: 1.461 MB / 1.032 GB, free: 324 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.414, allocations: 4 kB / 1.032 GB, free: 320 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008839/1.414, allocations: 440.5 kB / 1.033 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/1.419, allocations: 0.5909 MB / 1.033 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/1.423, allocations: 2.645 MB / 1.036 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/1.424, allocations: 1.177 MB / 1.037 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001932/1.426, allocations: 381.6 kB / 1.037 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/1.427, allocations: 123.4 kB / 1.037 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of SimCode: time 9.72e-07/1.427, allocations: 0 / 1.037 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of Templates: time 0.05136/1.478, allocations: 27.87 MB / 1.065 GB, free: 15.38 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: