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.5514/0.5514, allocations: 94.76 MB / 102.2 MB, free: 14.07 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.001138/0.001138, allocations: 175.1 kB / 125.6 MB, free: 7.93 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.791/1.791, allocations: 170.6 MB / 319.4 MB, free: 1.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001864/0.001864, allocations: 122.5 kB / 381.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.991e-05, allocations: 4 kB / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1632, allocations: 61.52 MB / 0.4987 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.674/1.837, allocations: 450.4 MB / 0.9386 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.837, allocations: 96.75 kB / 0.9386 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7959/2.633, allocations: 238.1 MB / 1.171 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/2.633, allocations: 0 / 1.171 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.98e-05/2.633, allocations: 33.89 kB / 1.171 GB, free: 132.6 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.002273/2.636, allocations: 1.161 MB / 1.172 GB, free: 132 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/2.636, allocations: 10.59 kB / 1.172 GB, free: 132 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/2.636, allocations: 136.1 kB / 1.172 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/2.638, allocations: 0.9217 MB / 1.173 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/2.638, allocations: 17.56 kB / 1.173 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.901e-05/2.638, allocations: 34.77 kB / 1.173 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000842/2.639, allocations: 0.5148 MB / 1.174 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/2.64, allocations: 0.6278 MB / 1.174 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/2.64, allocations: 3.188 kB / 1.174 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/2.64, allocations: 3.688 kB / 1.174 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/2.64, allocations: 11.03 kB / 1.175 GB, free: 131.4 MB / 0.5261 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.005283/2.645, allocations: 3.267 MB / 1.178 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/2.646, allocations: 442.5 kB / 1.178 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/2.647, allocations: 229.5 kB / 1.178 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/2.647, allocations: 172.3 kB / 1.179 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/2.647, allocations: 40.22 kB / 1.179 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009328/2.648, allocations: 113.3 kB / 1.179 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 3.126e-06/2.648, allocations: 2.219 kB / 1.179 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.002753/2.65, allocations: 0.7141 MB / 1.179 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/2.651, allocations: 217.3 kB / 1.18 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/2.652, allocations: 0.8761 MB / 1.18 GB, free: 129 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/2.652, allocations: 29.58 kB / 1.18 GB, free: 129 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/2.653, allocations: 496.5 kB / 1.181 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/2.653, allocations: 131.7 kB / 1.181 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/2.653, allocations: 0 / 1.181 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/2.653, allocations: 327.5 kB / 1.181 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/2.654, allocations: 218.6 kB / 1.182 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/2.654, allocations: 437.7 kB / 1.182 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/2.656, allocations: 363.9 kB / 1.182 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/2.656, allocations: 2.469 kB / 1.182 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003945/2.66, allocations: 0.9993 MB / 1.183 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004141/2.66, allocations: 1.484 MB / 1.185 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/2.66, allocations: 11.48 kB / 1.185 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/2.664, allocations: 455.7 kB / 1.185 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/2.664, allocations: 128.2 kB / 1.185 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/2.667, allocations: 1.003 MB / 1.186 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/2.668, allocations: 71.23 kB / 1.186 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/2.668, allocations: 35.23 kB / 1.186 GB, free: 126 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.669, allocations: 3.094 kB / 1.186 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/2.67, allocations: 0.5669 MB / 1.187 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/2.67, allocations: 3.344 kB / 1.187 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/2.67, allocations: 7.125 kB / 1.187 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/2.671, allocations: 153.4 kB / 1.187 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/2.671, allocations: 9.5 kB / 1.187 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/2.672, allocations: 59.47 kB / 1.187 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/2.673, allocations: 42.12 kB / 1.187 GB, free: 126 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 () * 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.0002553/2.673, allocations: 116.5 kB / 1.187 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/2.673, allocations: 95.88 kB / 1.187 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/2.676, allocations: 0.8189 MB / 1.188 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/2.676, allocations: 6.969 kB / 1.188 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/2.676, allocations: 3.938 kB / 1.188 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/2.676, allocations: 3.797 kB / 1.188 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/2.68, allocations: 1.553 MB / 1.19 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/2.68, allocations: 3.906 kB / 1.19 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/2.681, allocations: 77.5 kB / 1.19 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/2.683, allocations: 283.6 kB / 1.19 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/2.683, allocations: 11.33 kB / 1.19 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/2.685, allocations: 0.8718 MB / 1.191 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/2.685, allocations: 0 / 1.191 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/2.689, allocations: 1.118 MB / 1.192 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/2.69, allocations: 201.8 kB / 1.192 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/2.69, allocations: 2.688 kB / 1.192 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/2.691, allocations: 44.84 kB / 1.192 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/2.691, allocations: 42.25 kB / 1.192 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/2.691, allocations: 26.33 kB / 1.192 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001508/2.693, allocations: 0.6682 MB / 1.193 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/2.693, allocations: 3.906 kB / 1.193 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002715/2.696, allocations: 0.5378 MB / 1.194 GB, free: 124.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete 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.001332/2.697, allocations: 414.5 kB / 1.194 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002217/2.699, allocations: 0.9202 MB / 1.195 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.699, allocations: 2.969 kB / 1.195 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006598/2.7, allocations: 247.1 kB / 1.195 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/2.702, allocations: 341.7 kB / 1.195 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/2.706, allocations: 1.171 MB / 1.197 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/2.707, allocations: 1.05 MB / 1.198 GB, free: 123 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002131/2.709, allocations: 288.4 kB / 1.198 GB, free: 123 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/2.709, allocations: 56.92 kB / 1.198 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/2.709, allocations: 0 / 1.198 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.0486/2.758, allocations: 20.55 MB / 1.218 GB, free: 121.4 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)