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.559/1.559, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.0009121/0.000912, allocations: 180.2 kB / 371.6 MB, free: 3.363 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.462/1.462, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.000915/0.000915, allocations: 89.3 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.757e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2527, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.564/5.817, allocations: 2.086 GB / 3.065 GB, free: 154.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004819/5.818, allocations: 93.8 kB / 3.065 GB, free: 154.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.626/8.444, allocations: 0.7437 GB / 3.809 GB, free: 121.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/8.444, allocations: 5.875 kB / 3.809 GB, free: 121.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001374/8.444, allocations: 39.38 kB / 3.809 GB, free: 121.9 MB / 0.948 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.00359/8.447, allocations: 1.576 MB / 3.811 GB, free: 120.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/8.447, allocations: 8.031 kB / 3.811 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/8.45, allocations: 310.7 kB / 3.811 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/8.453, allocations: 1.333 MB / 3.812 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/8.453, allocations: 61.31 kB / 3.812 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/8.453, allocations: 83.91 kB / 3.812 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/8.454, allocations: 0.8988 MB / 3.813 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/8.454, allocations: 0 / 3.813 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/8.454, allocations: 28 kB / 3.813 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/8.454, allocations: 16 kB / 3.813 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/8.456, allocations: 0.7627 MB / 3.814 GB, free: 116.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004935/8.461, allocations: 3.564 MB / 3.818 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009831/8.462, allocations: 0.7201 MB / 3.818 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/8.462, allocations: 406.6 kB / 3.819 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/8.462, allocations: 291.7 kB / 3.819 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/8.462, allocations: 46.95 kB / 3.819 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001371/8.464, allocations: 347.1 kB / 3.819 GB, free: 111.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 3.386e-06/8.464, allocations: 0 / 3.819 GB, free: 111.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.001582/8.465, allocations: 0.877 MB / 3.82 GB, free: 110.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/8.465, allocations: 222 kB / 3.82 GB, free: 109.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/8.467, allocations: 1.424 MB / 3.822 GB, free: 108.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.143e-05/8.467, allocations: 45.7 kB / 3.822 GB, free: 108.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/8.468, allocations: 0.5624 MB / 3.822 GB, free: 107.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/8.468, allocations: 181.3 kB / 3.823 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/8.468, allocations: 8 kB / 3.823 GB, free: 107.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/8.468, allocations: 330 kB / 3.823 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/8.468, allocations: 329 kB / 3.823 GB, free: 107 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/8.469, allocations: 0.6504 MB / 3.824 GB, free: 106.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/8.47, allocations: 412.6 kB / 3.824 GB, free: 105.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/8.47, allocations: 0 / 3.824 GB, free: 105.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001364/8.471, allocations: 0.9542 MB / 3.825 GB, free: 104.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/8.471, allocations: 105.3 kB / 3.825 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/8.471, allocations: 4 kB / 3.825 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/8.471, allocations: 4 kB / 3.825 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008414/8.472, allocations: 167.7 kB / 3.825 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/8.472, allocations: 3.984 kB / 3.825 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/8.474, allocations: 159.7 kB / 3.826 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/8.474, allocations: 43.95 kB / 3.826 GB, free: 104.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/8.474, allocations: 9.656 kB / 3.826 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/8.475, allocations: 0.7862 MB / 3.826 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/8.475, allocations: 3.984 kB / 3.826 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/8.475, allocations: 4 kB / 3.826 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/8.476, allocations: 167.7 kB / 3.827 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/8.476, allocations: 3.953 kB / 3.827 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/8.477, allocations: 159.7 kB / 3.827 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/8.478, allocations: 39.95 kB / 3.827 GB, free: 103.2 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002181/8.478, allocations: 144.5 kB / 3.827 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/8.478, allocations: 126.4 kB / 3.827 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/8.48, allocations: 0.9689 MB / 3.828 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/8.48, allocations: 8 kB / 3.828 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/8.48, allocations: 7.891 kB / 3.828 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/8.48, allocations: 3.984 kB / 3.828 GB, free: 102 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003326/8.483, allocations: 2.409 MB / 3.83 GB, free: 99.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/8.483, allocations: 4 kB / 3.83 GB, free: 99.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/8.484, allocations: 136.1 kB / 3.83 GB, free: 99.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/8.484, allocations: 8 kB / 3.83 GB, free: 99.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/8.484, allocations: 23.98 kB / 3.831 GB, free: 99.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/8.484, allocations: 4 kB / 3.831 GB, free: 99.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/8.484, allocations: 7.938 kB / 3.831 GB, free: 99.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/8.486, allocations: 1.545 MB / 3.832 GB, free: 97.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/8.486, allocations: 367.2 kB / 3.832 GB, free: 97.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/8.487, allocations: 20 kB / 3.832 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/8.488, allocations: 107.7 kB / 3.832 GB, free: 97.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/8.488, allocations: 44.38 kB / 3.833 GB, free: 97.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/8.488, allocations: 31.98 kB / 3.833 GB, free: 97.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001472/8.49, allocations: 1.116 MB / 3.834 GB, free: 95.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.49, allocations: 0 / 3.834 GB, free: 95.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002445/8.492, allocations: 0.7375 MB / 3.834 GB, free: 95.19 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002777/8.495, allocations: 1.929 MB / 3.836 GB, free: 93.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001853/8.497, allocations: 1.325 MB / 3.838 GB, free: 91.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/8.497, allocations: 0 / 3.838 GB, free: 91.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/8.497, allocations: 374.2 kB / 3.838 GB, free: 91.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/8.5, allocations: 0.5827 MB / 3.838 GB, free: 90.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/8.503, allocations: 1.689 MB / 3.84 GB, free: 89.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/8.503, allocations: 1.195 MB / 3.841 GB, free: 87.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002338/8.506, allocations: 0.5297 MB / 3.842 GB, free: 87.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/8.506, allocations: 91.39 kB / 3.842 GB, free: 87.28 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/8.506, allocations: 0 / 3.842 GB, free: 87.28 MB / 0.948 GB Notification: Performance of Templates: time 0.07017/8.576, allocations: 55.26 MB / 3.896 GB, free: 32.18 MB / 0.948 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)