Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8375/0.8375, allocations: 127.4 MB / 134.9 MB, free: 3.477 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 181.7 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 89.8 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.875e-05, allocations: 5.562 kB / 0.5466 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.792/4.928, allocations: 2.157 GB / 2.779 GB, free: 186.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/4.928, allocations: 97.91 kB / 2.779 GB, free: 186.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.78/6.708, allocations: 0.5917 GB / 3.371 GB, free: 120 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.243e-06/6.708, allocations: 0 / 3.371 GB, free: 120 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.317e-05/6.708, allocations: 30.28 kB / 3.371 GB, free: 119.9 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00293/6.711, allocations: 1.269 MB / 3.372 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/6.711, allocations: 14.67 kB / 3.372 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/6.714, allocations: 245.9 kB / 3.372 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/6.716, allocations: 0.8715 MB / 3.373 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/6.716, allocations: 18.17 kB / 3.373 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/6.716, allocations: 37.22 kB / 3.373 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009883/6.717, allocations: 0.5332 MB / 3.373 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/6.718, allocations: 0.5879 MB / 3.374 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/6.718, allocations: 3.812 kB / 3.374 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/6.718, allocations: 0 / 3.374 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/6.718, allocations: 11.31 kB / 3.374 GB, free: 118.7 MB / 0.6511 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.003406/6.721, allocations: 2.395 MB / 3.376 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/6.722, allocations: 0.5227 MB / 3.377 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/6.722, allocations: 308.9 kB / 3.377 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/6.723, allocations: 304.3 kB / 3.378 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/6.723, allocations: 38.5 kB / 3.378 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008328/6.723, allocations: 203.4 kB / 3.378 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/6.723, allocations: 0 / 3.378 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.001904/6.725, allocations: 0.7752 MB / 3.378 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/6.725, allocations: 135.6 kB / 3.379 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008477/6.726, allocations: 0.7619 MB / 3.379 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/6.726, allocations: 25.7 kB / 3.379 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/6.727, allocations: 425.2 kB / 3.38 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/6.727, allocations: 137.9 kB / 3.38 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/6.727, allocations: 3.469 kB / 3.38 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/6.727, allocations: 325.6 kB / 3.38 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/6.727, allocations: 272 kB / 3.381 GB, free: 115 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/6.728, allocations: 452.2 kB / 3.381 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/6.728, allocations: 322 kB / 3.381 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/6.728, allocations: 0 / 3.381 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001102/6.729, allocations: 0.7503 MB / 3.382 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/6.729, allocations: 98.62 kB / 3.382 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/6.729, allocations: 2.875 kB / 3.382 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/6.729, allocations: 0 / 3.382 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/6.73, allocations: 166.5 kB / 3.382 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/6.73, allocations: 1.781 kB / 3.382 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/6.731, allocations: 91.48 kB / 3.382 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/6.731, allocations: 33.09 kB / 3.382 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/6.731, allocations: 3.938 kB / 3.382 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008735/6.732, allocations: 0.5739 MB / 3.383 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/6.732, allocations: 3.984 kB / 3.383 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/6.732, allocations: 3.188 kB / 3.383 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/6.733, allocations: 130.6 kB / 3.383 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/6.733, allocations: 7.734 kB / 3.383 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/6.734, allocations: 71.45 kB / 3.383 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/6.734, allocations: 34 kB / 3.383 GB, free: 113.8 MB / 0.6511 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 (53): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001451/6.734, allocations: 117.1 kB / 3.383 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/6.734, allocations: 91.17 kB / 3.383 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/6.735, allocations: 0.7349 MB / 3.384 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/6.735, allocations: 10.31 kB / 3.384 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/6.735, allocations: 7.891 kB / 3.384 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/6.735, allocations: 0 / 3.384 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/6.738, allocations: 1.738 MB / 3.386 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/6.738, allocations: 3.406 kB / 3.386 GB, free: 112 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/6.738, allocations: 147.6 kB / 3.386 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/6.738, allocations: 3.844 kB / 3.386 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/6.739, allocations: 11.05 kB / 3.386 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/6.739, allocations: 3.938 kB / 3.386 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/6.739, allocations: 3.719 kB / 3.386 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/6.74, allocations: 1.26 MB / 3.387 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/6.74, allocations: 185.1 kB / 3.387 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/6.74, allocations: 11.58 kB / 3.387 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/6.741, allocations: 74.64 kB / 3.387 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/6.741, allocations: 48.64 kB / 3.387 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/6.741, allocations: 24.23 kB / 3.388 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006465/6.742, allocations: 0.5812 MB / 3.388 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.233e-06/6.742, allocations: 0 / 3.388 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00147/6.743, allocations: 0.5142 MB / 3.389 GB, free: 109.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 52 * 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.002267/6.746, allocations: 1.891 MB / 3.39 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001328/6.747, allocations: 0.9995 MB / 3.391 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/6.747, allocations: 0 / 3.391 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/6.747, allocations: 301.6 kB / 3.392 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/6.749, allocations: 387.4 kB / 3.392 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/6.754, allocations: 1.604 MB / 3.394 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/6.754, allocations: 1.043 MB / 3.395 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001718/6.756, allocations: 337.6 kB / 3.395 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/6.756, allocations: 75.39 kB / 3.395 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/6.756, allocations: 0 / 3.395 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.03803/6.794, allocations: 27.78 MB / 3.422 GB, free: 76.13 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)