Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.653/1.653, allocations: 297.8 MB / 313.8 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 187.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007746/0.0007745, allocations: 94.36 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004031, allocations: 21.42 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6372, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.041/4.678, allocations: 1.907 GB / 2.934 GB, free: 287.6 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/4.679, allocations: 95.53 kB / 2.934 GB, free: 287.6 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.704/6.382, allocations: 0.6101 GB / 3.544 GB, free: 79 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.104e-06/6.382, allocations: 0 / 3.544 GB, free: 79 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001692/6.383, allocations: 24 kB / 3.544 GB, free: 78.98 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005656/6.388, allocations: 1.659 MB / 3.546 GB, free: 77.26 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/6.388, allocations: 8.031 kB / 3.546 GB, free: 77.25 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/6.391, allocations: 243.3 kB / 3.546 GB, free: 77.01 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/6.394, allocations: 1.071 MB / 3.547 GB, free: 75.89 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/6.394, allocations: 49.38 kB / 3.547 GB, free: 75.84 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/6.394, allocations: 56.38 kB / 3.547 GB, free: 75.79 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/6.395, allocations: 0.6393 MB / 3.548 GB, free: 75.14 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/6.395, allocations: 7.875 kB / 3.548 GB, free: 75.13 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/6.395, allocations: 20 kB / 3.548 GB, free: 75.11 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/6.395, allocations: 17 kB / 3.548 GB, free: 75.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/6.397, allocations: 0.6558 MB / 3.548 GB, free: 74.44 MB / 0.9792 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.00506/6.402, allocations: 2.716 MB / 3.551 GB, free: 71.58 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/6.403, allocations: 0.5896 MB / 3.551 GB, free: 70.98 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/6.403, allocations: 364.6 kB / 3.552 GB, free: 70.62 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/6.404, allocations: 291.3 kB / 3.552 GB, free: 70.29 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/6.404, allocations: 36.72 kB / 3.552 GB, free: 70.24 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001161/6.405, allocations: 235.3 kB / 3.552 GB, free: 70.01 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=44): time 6.672e-06/6.405, allocations: 4 kB / 3.552 GB, free: 70.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=44): time 0.00238/6.407, allocations: 1.063 MB / 3.553 GB, free: 68.94 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/6.407, allocations: 59.41 kB / 3.553 GB, free: 68.87 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/6.41, allocations: 1.236 MB / 3.555 GB, free: 67.61 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/6.41, allocations: 37.7 kB / 3.555 GB, free: 67.57 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/6.41, allocations: 447.2 kB / 3.555 GB, free: 67.13 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/6.41, allocations: 153.8 kB / 3.555 GB, free: 66.98 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/6.41, allocations: 8 kB / 3.555 GB, free: 66.97 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/6.41, allocations: 326 kB / 3.556 GB, free: 66.65 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/6.411, allocations: 272.6 kB / 3.556 GB, free: 66.38 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/6.411, allocations: 0.5067 MB / 3.556 GB, free: 65.79 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/6.412, allocations: 0.6076 MB / 3.557 GB, free: 65.18 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/6.412, allocations: 0 / 3.557 GB, free: 65.18 MB / 0.9792 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001465/6.414, allocations: 0.7613 MB / 3.558 GB, free: 64.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/6.414, allocations: 104.3 kB / 3.558 GB, free: 64.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/6.414, allocations: 0 / 3.558 GB, free: 64.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/6.414, allocations: 4 kB / 3.558 GB, free: 64.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/6.415, allocations: 131.8 kB / 3.558 GB, free: 64.17 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/6.415, allocations: 4 kB / 3.558 GB, free: 64.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/6.416, allocations: 123.7 kB / 3.558 GB, free: 64.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/6.416, allocations: 27.97 kB / 3.558 GB, free: 64.02 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/6.416, allocations: 4 kB / 3.558 GB, free: 64.02 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/6.417, allocations: 0.6438 MB / 3.559 GB, free: 63.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/6.417, allocations: 112 / 3.559 GB, free: 63.37 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/6.417, allocations: 7.938 kB / 3.559 GB, free: 63.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/6.418, allocations: 131.8 kB / 3.559 GB, free: 63.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/6.418, allocations: 11.94 kB / 3.559 GB, free: 63.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/6.419, allocations: 111.9 kB / 3.559 GB, free: 63.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/6.419, allocations: 27.97 kB / 3.559 GB, free: 63.09 MB / 0.9792 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0005449/6.42, allocations: 333 kB / 3.559 GB, free: 62.75 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/6.42, allocations: 106.7 kB / 3.559 GB, free: 62.64 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/6.422, allocations: 0.846 MB / 3.56 GB, free: 61.79 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/6.422, allocations: 7.938 kB / 3.56 GB, free: 61.78 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/6.422, allocations: 0 / 3.56 GB, free: 61.78 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/6.422, allocations: 7.984 kB / 3.56 GB, free: 61.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/6.425, allocations: 1.999 MB / 3.562 GB, free: 59.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/6.425, allocations: 4.281 kB / 3.562 GB, free: 59.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/6.426, allocations: 123.8 kB / 3.562 GB, free: 59.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/6.426, allocations: 4 kB / 3.562 GB, free: 59.56 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/6.426, allocations: 16 kB / 3.562 GB, free: 59.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/6.426, allocations: 8 kB / 3.562 GB, free: 59.54 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/6.426, allocations: 0 / 3.562 GB, free: 59.54 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/6.428, allocations: 1.288 MB / 3.564 GB, free: 58.21 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/6.428, allocations: 307.6 kB / 3.564 GB, free: 57.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/6.428, allocations: 12 kB / 3.564 GB, free: 57.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/6.43, allocations: 83.88 kB / 3.564 GB, free: 57.79 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/6.43, allocations: 51.77 kB / 3.564 GB, free: 57.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/6.43, allocations: 23.98 kB / 3.564 GB, free: 57.72 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001467/6.431, allocations: 0.9012 MB / 3.565 GB, free: 56.81 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/6.431, allocations: 0 / 3.565 GB, free: 56.81 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002199/6.433, allocations: 0.5502 MB / 3.565 GB, free: 56.26 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[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 (53): * Single equations (assignments): 53 * 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.002591/6.436, allocations: 1.629 MB / 3.567 GB, free: 54.57 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001834/6.438, allocations: 0.9525 MB / 3.568 GB, free: 53.61 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/6.438, allocations: 0 / 3.568 GB, free: 53.61 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005478/6.438, allocations: 343.9 kB / 3.568 GB, free: 53.28 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/6.441, allocations: 461.5 kB / 3.569 GB, free: 52.83 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/6.444, allocations: 1.925 MB / 3.571 GB, free: 50.84 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/6.444, allocations: 1.038 MB / 3.572 GB, free: 49.77 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001295/6.446, allocations: 291 kB / 3.572 GB, free: 49.48 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/6.446, allocations: 95.39 kB / 3.572 GB, free: 49.38 MB / 0.9792 GB Notification: Performance of SimCode: time 5.1e-07/6.446, allocations: 3.938 kB / 3.572 GB, free: 49.38 MB / 0.9792 GB Notification: Performance of Templates: time 0.05296/6.499, allocations: 38.94 MB / 3.61 GB, free: 10.66 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)