Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 293 MB / 309 MB, free: 4.805 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.001265/0.001265, allocations: 168 kB / 378.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6383 GB, free: 8.156 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.0007925/0.0007924, allocations: 99.48 kB / 0.7527 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.324, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.719/2.043, allocations: 404.4 MB / 1.385 GB, free: 272.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/2.043, allocations: 101.8 kB / 1.386 GB, free: 272.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3823/2.426, allocations: 174.5 MB / 1.556 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.045e-06/2.426, allocations: 0 / 1.556 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.252e-05/2.426, allocations: 16 kB / 1.556 GB, free: 181.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002089/2.428, allocations: 0.8697 MB / 1.557 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/2.428, allocations: 8.031 kB / 1.557 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/2.428, allocations: 60.28 kB / 1.557 GB, free: 180.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/2.429, allocations: 486.2 kB / 1.557 GB, free: 180 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/2.429, allocations: 25.31 kB / 1.557 GB, free: 180 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/2.429, allocations: 32 kB / 1.557 GB, free: 180 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/2.43, allocations: 286.1 kB / 1.558 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/2.43, allocations: 4 kB / 1.558 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/2.43, allocations: 12 kB / 1.558 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/2.43, allocations: 12 kB / 1.558 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/2.43, allocations: 198 kB / 1.558 GB, free: 179.4 MB / 0.9323 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.002139/2.433, allocations: 1.507 MB / 1.559 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/2.433, allocations: 154.8 kB / 1.559 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/2.433, allocations: 92.8 kB / 1.56 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/2.434, allocations: 1.292 MB / 1.561 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/2.434, allocations: 30.56 kB / 1.561 GB, free: 176 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 3.346e-06/2.434, allocations: 3.984 kB / 1.561 GB, free: 176 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0006557/2.435, allocations: 269 kB / 1.561 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/2.435, allocations: 55.41 kB / 1.561 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/2.436, allocations: 0.5769 MB / 1.562 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/2.436, allocations: 29.7 kB / 1.562 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/2.436, allocations: 268.1 kB / 1.562 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/2.436, allocations: 59.19 kB / 1.562 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/2.436, allocations: 8 kB / 1.562 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/2.436, allocations: 358.8 kB / 1.562 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/2.436, allocations: 76.52 kB / 1.562 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/2.437, allocations: 237.3 kB / 1.563 GB, free: 174 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/2.437, allocations: 234.6 kB / 1.563 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.437, allocations: 3.938 kB / 1.563 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005502/2.438, allocations: 314.1 kB / 1.563 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/2.438, allocations: 169.8 kB / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/2.438, allocations: 0 / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/2.438, allocations: 8 kB / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/2.438, allocations: 63.91 kB / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/2.438, allocations: 7.938 kB / 1.563 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/2.438, allocations: 55.56 kB / 1.564 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/2.438, allocations: 19.98 kB / 1.564 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/2.438, allocations: 10.66 kB / 1.564 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004526/2.439, allocations: 235.1 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/2.439, allocations: 8.25 kB / 1.564 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/2.439, allocations: 4 kB / 1.564 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/2.439, allocations: 59.91 kB / 1.564 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/2.439, allocations: 4 kB / 1.564 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/2.439, allocations: 51.75 kB / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/2.439, allocations: 19.98 kB / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002389/2.44, allocations: 261 kB / 1.564 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/2.44, allocations: 51.34 kB / 1.564 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/2.44, allocations: 274.4 kB / 1.564 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/2.44, allocations: 0 / 1.564 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/2.44, allocations: 3.938 kB / 1.564 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/2.44, allocations: 0 / 1.564 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/2.441, allocations: 0.7557 MB / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/2.441, allocations: 3.938 kB / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/2.441, allocations: 31.98 kB / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/2.441, allocations: 0 / 1.565 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/2.442, allocations: 11.98 kB / 1.565 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/2.442, allocations: 12.06 kB / 1.565 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.442, allocations: 4.188 kB / 1.565 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/2.442, allocations: 353.8 kB / 1.566 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/2.442, allocations: 172.3 kB / 1.566 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/2.442, allocations: 3.984 kB / 1.566 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/2.442, allocations: 23.98 kB / 1.566 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/2.443, allocations: 19.86 kB / 1.566 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/2.443, allocations: 4 kB / 1.566 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004248/2.443, allocations: 418.8 kB / 1.566 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/2.443, allocations: 0 / 1.566 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009342/2.444, allocations: 267.6 kB / 1.566 GB, free: 170 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001313/2.445, allocations: 0.6091 MB / 1.567 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006641/2.446, allocations: 335.8 kB / 1.567 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.446, allocations: 0 / 1.567 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/2.446, allocations: 104.8 kB / 1.568 GB, free: 169 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/2.447, allocations: 252.6 kB / 1.568 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/2.449, allocations: 0.9588 MB / 1.569 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/2.449, allocations: 0.8432 MB / 1.57 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003561/2.449, allocations: 108.3 kB / 1.57 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/2.449, allocations: 35.44 kB / 1.57 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of SimCode: time 2.1e-07/2.449, allocations: 0 / 1.57 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.01727/2.467, allocations: 11.24 MB / 1.581 GB, free: 155.6 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)