Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.0009283/0.0009282, allocations: 188.8 kB / 366.7 MB, free: 1.676 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.345/1.345, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008748/0.0008751, allocations: 100.7 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.567e-05/1.566e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6162/0.6163, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.361/4.978, allocations: 2.084 GB / 3.057 GB, free: 45.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/4.978, allocations: 83.95 kB / 3.057 GB, free: 45.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.202/7.18, allocations: 0.5982 GB / 3.655 GB, free: 181.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/7.18, allocations: 3.828 kB / 3.655 GB, free: 181.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.256e-05/7.18, allocations: 31.36 kB / 3.655 GB, free: 181.8 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002644/7.183, allocations: 1.324 MB / 3.657 GB, free: 180.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/7.183, allocations: 8.031 kB / 3.657 GB, free: 180.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/7.185, allocations: 244.1 kB / 3.657 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/7.186, allocations: 1.051 MB / 3.658 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/7.187, allocations: 16 kB / 3.658 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/7.187, allocations: 36 kB / 3.658 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000792/7.187, allocations: 0.5376 MB / 3.658 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/7.188, allocations: 0.5885 MB / 3.659 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/7.188, allocations: 7.938 kB / 3.659 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/7.188, allocations: 4 kB / 3.659 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/7.188, allocations: 15.98 kB / 3.659 GB, free: 177.9 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.003325/7.192, allocations: 2.6 MB / 3.662 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/7.192, allocations: 0.515 MB / 3.662 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/7.193, allocations: 303.3 kB / 3.662 GB, free: 174.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/7.193, allocations: 298.2 kB / 3.663 GB, free: 174.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/7.193, allocations: 38.56 kB / 3.663 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008459/7.194, allocations: 203.4 kB / 3.663 GB, free: 173.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/7.194, allocations: 0 / 3.663 GB, free: 173.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001236/7.195, allocations: 0.668 MB / 3.664 GB, free: 173.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/7.195, allocations: 132.5 kB / 3.664 GB, free: 173 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/7.196, allocations: 0.9735 MB / 3.665 GB, free: 172 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/7.196, allocations: 29.64 kB / 3.665 GB, free: 171.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/7.197, allocations: 454 kB / 3.665 GB, free: 171.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/7.197, allocations: 145.8 kB / 3.665 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/7.197, allocations: 0 / 3.665 GB, free: 171.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/7.197, allocations: 318 kB / 3.666 GB, free: 171 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/7.197, allocations: 240.8 kB / 3.666 GB, free: 170.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/7.198, allocations: 474.7 kB / 3.666 GB, free: 170.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/7.198, allocations: 298.1 kB / 3.667 GB, free: 170 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/7.198, allocations: 0 / 3.667 GB, free: 170 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009267/7.199, allocations: 0.6745 MB / 3.667 GB, free: 169.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/7.199, allocations: 98.89 kB / 3.667 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/7.199, allocations: 4 kB / 3.667 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/7.199, allocations: 0 / 3.667 GB, free: 169.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/7.2, allocations: 123.8 kB / 3.667 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/7.2, allocations: 3.984 kB / 3.667 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/7.201, allocations: 115.7 kB / 3.667 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/7.201, allocations: 31.97 kB / 3.668 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/7.201, allocations: 4 kB / 3.668 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007574/7.202, allocations: 0.5411 MB / 3.668 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/7.202, allocations: 0 / 3.668 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/7.202, allocations: 7.953 kB / 3.668 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/7.202, allocations: 119.8 kB / 3.668 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/7.202, allocations: 0 / 3.668 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/7.203, allocations: 107.9 kB / 3.668 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/7.203, allocations: 31.95 kB / 3.668 GB, free: 168.1 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 (47): * Single equations (assignments): 45 * 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.0001358/7.203, allocations: 113.2 kB / 3.668 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/7.204, allocations: 98.78 kB / 3.669 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/7.205, allocations: 0.7088 MB / 3.669 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/7.205, allocations: 11.95 kB / 3.669 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.205, allocations: 0 / 3.669 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/7.205, allocations: 3.984 kB / 3.669 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/7.207, allocations: 1.789 MB / 3.671 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/7.207, allocations: 3.984 kB / 3.671 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/7.208, allocations: 115.8 kB / 3.671 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/7.208, allocations: 7.984 kB / 3.671 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/7.208, allocations: 8 kB / 3.671 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/7.208, allocations: 4.219 kB / 3.671 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/7.208, allocations: 4 kB / 3.671 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/7.209, allocations: 1.197 MB / 3.672 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/7.209, allocations: 299.7 kB / 3.673 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/7.209, allocations: 4 kB / 3.673 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000916/7.21, allocations: 79.86 kB / 3.673 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/7.21, allocations: 51.73 kB / 3.673 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/7.21, allocations: 27.98 kB / 3.673 GB, free: 163.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008034/7.211, allocations: 0.7474 MB / 3.673 GB, free: 162.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/7.211, allocations: 0 / 3.673 GB, free: 162.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001508/7.213, allocations: 0.5459 MB / 3.674 GB, free: 162.1 MB / 0.948 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.002105/7.215, allocations: 1.861 MB / 3.676 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001163/7.216, allocations: 0.914 MB / 3.677 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/7.216, allocations: 7.938 kB / 3.677 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/7.216, allocations: 271.7 kB / 3.677 GB, free: 159.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/7.218, allocations: 415.5 kB / 3.677 GB, free: 158.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/7.22, allocations: 1.263 MB / 3.679 GB, free: 157.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/7.221, allocations: 1.075 MB / 3.68 GB, free: 156.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001449/7.222, allocations: 386 kB / 3.68 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/7.222, allocations: 63.41 kB / 3.68 GB, free: 155.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/7.222, allocations: 0 / 3.68 GB, free: 155.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03737/7.26, allocations: 28.8 MB / 3.708 GB, free: 127.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)