Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5264/0.5264, allocations: 95.61 MB / 110.6 MB, free: 9.391 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001223/0.001223, allocations: 166.3 kB / 134.2 MB, free: 2.285 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.362/1.362, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001751/0.001751, allocations: 116.2 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 15.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 61.53 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.446/1.604, allocations: 450.8 MB / 0.9522 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/1.604, allocations: 94.81 kB / 0.9523 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7652/2.37, allocations: 240.3 MB / 1.187 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/2.37, allocations: 0 / 1.187 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001044/2.37, allocations: 27.22 kB / 1.187 GB, free: 129.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003447/2.373, allocations: 1.479 MB / 1.188 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/2.373, allocations: 13.92 kB / 1.189 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/2.374, allocations: 128.9 kB / 1.189 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/2.375, allocations: 0.9208 MB / 1.19 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/2.375, allocations: 43.81 kB / 1.19 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/2.375, allocations: 68.77 kB / 1.19 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/2.377, allocations: 0.7934 MB / 1.19 GB, free: 128 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/2.377, allocations: 6.062 kB / 1.19 GB, free: 128 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.94e-05/2.377, allocations: 25.78 kB / 1.19 GB, free: 128 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/2.377, allocations: 15.25 kB / 1.19 GB, free: 128 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/2.378, allocations: 0.667 MB / 1.191 GB, free: 128 MB / 0.5261 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.003903/2.382, allocations: 3.392 MB / 1.194 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/2.383, allocations: 0.5177 MB / 1.195 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/2.384, allocations: 177.4 kB / 1.195 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/2.384, allocations: 44.14 kB / 1.195 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006056/2.384, allocations: 133.4 kB / 1.195 GB, free: 126 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 4.188e-06/2.384, allocations: 3.891 kB / 1.195 GB, free: 126 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.005961/2.39, allocations: 1.531 MB / 1.197 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/2.39, allocations: 209.5 kB / 1.197 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/2.392, allocations: 1.015 MB / 1.198 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/2.392, allocations: 37.83 kB / 1.198 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/2.392, allocations: 492.3 kB / 1.198 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/2.392, allocations: 135.6 kB / 1.199 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/2.392, allocations: 10.88 kB / 1.199 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/2.392, allocations: 328.3 kB / 1.199 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/2.393, allocations: 278 kB / 1.199 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/2.393, allocations: 497.6 kB / 1.2 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/2.394, allocations: 332.6 kB / 1.2 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/2.394, allocations: 2.781 kB / 1.2 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003195/2.397, allocations: 1.123 MB / 1.201 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003088/2.398, allocations: 1.5 MB / 1.203 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/2.398, allocations: 7.844 kB / 1.203 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/2.401, allocations: 0.5626 MB / 1.203 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/2.402, allocations: 124.3 kB / 1.203 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/2.403, allocations: 0.915 MB / 1.204 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/2.404, allocations: 76.78 kB / 1.204 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/2.404, allocations: 37.17 kB / 1.204 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/2.404, allocations: 3.938 kB / 1.204 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/2.406, allocations: 0.7133 MB / 1.205 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/2.406, allocations: 6.312 kB / 1.205 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/2.406, allocations: 6.094 kB / 1.205 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/2.406, allocations: 150.9 kB / 1.205 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/2.406, allocations: 10.22 kB / 1.205 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/2.407, allocations: 67.84 kB / 1.205 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/2.407, allocations: 37.89 kB / 1.205 GB, free: 122.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006485/2.408, allocations: 332.1 kB / 1.205 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/2.408, allocations: 107.5 kB / 1.206 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/2.41, allocations: 0.8654 MB / 1.206 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/2.41, allocations: 3.719 kB / 1.206 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/2.41, allocations: 6.906 kB / 1.206 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/2.41, allocations: 3.797 kB / 1.206 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/2.413, allocations: 1.68 MB / 1.208 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/2.413, allocations: 4.719 kB / 1.208 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/2.413, allocations: 75.17 kB / 1.208 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/2.416, allocations: 418 kB / 1.209 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/2.416, allocations: 14.95 kB / 1.209 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007534/2.416, allocations: 0.8015 MB / 1.209 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/2.416, allocations: 0 / 1.209 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/2.419, allocations: 1.241 MB / 1.211 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/2.419, allocations: 219 kB / 1.211 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/2.419, allocations: 7.969 kB / 1.211 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/2.42, allocations: 48.06 kB / 1.211 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/2.42, allocations: 39.86 kB / 1.211 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/2.42, allocations: 17.53 kB / 1.211 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001064/2.421, allocations: 0.7932 MB / 1.212 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/2.421, allocations: 2.297 kB / 1.212 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001829/2.423, allocations: 0.5553 MB / 1.212 GB, free: 120.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008594/2.424, allocations: 416.6 kB / 1.213 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002065/2.426, allocations: 1.072 MB / 1.214 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.426, allocations: 0 / 1.214 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006179/2.427, allocations: 315.8 kB / 1.214 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/2.428, allocations: 407 kB / 1.214 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/2.431, allocations: 1.899 MB / 1.216 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/2.432, allocations: 1.046 MB / 1.217 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001203/2.433, allocations: 220 kB / 1.217 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/2.433, allocations: 84.3 kB / 1.218 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/2.433, allocations: 0 / 1.218 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.03328/2.466, allocations: 21.52 MB / 1.239 GB, free: 111.7 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)