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.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.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.4-maint.8.1.x/package.mo): time 1.904/1.904, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001775/0.001776, allocations: 196.7 kB / 377.1 MB, free: 1.516 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.234/2.234, allocations: 205.4 MB / 0.6367 GB, free: 8.555 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.000963/0.0009632, allocations: 90.5 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004316, allocations: 16 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3296, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.813/2.142, allocations: 404.2 MB / 1.383 GB, free: 246 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/2.142, allocations: 99.28 kB / 1.383 GB, free: 246 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4094/2.552, allocations: 175.4 MB / 1.555 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.014e-06/2.552, allocations: 0 / 1.555 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.951e-05/2.552, allocations: 19.98 kB / 1.555 GB, free: 163.7 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.001508/2.554, allocations: 0.8696 MB / 1.555 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/2.554, allocations: 8.031 kB / 1.555 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/2.554, allocations: 55.34 kB / 1.555 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/2.554, allocations: 460.8 kB / 1.556 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/2.555, allocations: 28.5 kB / 1.556 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/2.555, allocations: 31.94 kB / 1.556 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/2.555, allocations: 286.2 kB / 1.556 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/2.555, allocations: 4 kB / 1.556 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/2.555, allocations: 8 kB / 1.556 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/2.555, allocations: 4 kB / 1.556 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/2.555, allocations: 194.1 kB / 1.556 GB, free: 161.6 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.00163/2.557, allocations: 1.511 MB / 1.558 GB, free: 160 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/2.557, allocations: 162.8 kB / 1.558 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/2.559, allocations: 1.292 MB / 1.559 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/2.559, allocations: 38.52 kB / 1.559 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/2.559, allocations: 0 / 1.559 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0005693/2.559, allocations: 261.7 kB / 1.56 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/2.559, allocations: 63.58 kB / 1.56 GB, free: 158 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/2.56, allocations: 0.5059 MB / 1.56 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/2.56, allocations: 29.7 kB / 1.56 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/2.56, allocations: 280 kB / 1.56 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/2.56, allocations: 51.28 kB / 1.561 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/2.56, allocations: 4 kB / 1.561 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/2.56, allocations: 358.8 kB / 1.561 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/2.56, allocations: 76.52 kB / 1.561 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/2.561, allocations: 238.8 kB / 1.561 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/2.561, allocations: 107.8 kB / 1.561 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/2.561, allocations: 4 kB / 1.561 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004876/2.561, allocations: 314.3 kB / 1.562 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/2.561, allocations: 0.9601 MB / 1.563 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/2.561, allocations: 11.94 kB / 1.563 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/2.562, allocations: 4 kB / 1.563 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/2.562, allocations: 67.89 kB / 1.563 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/2.562, allocations: 7.938 kB / 1.563 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/2.562, allocations: 47.58 kB / 1.563 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/2.562, allocations: 27.97 kB / 1.563 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.323e-06/2.562, allocations: 4 kB / 1.563 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003971/2.563, allocations: 245.9 kB / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/2.563, allocations: 0 / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/2.563, allocations: 8 kB / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/2.563, allocations: 63.89 kB / 1.563 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/2.563, allocations: 4 kB / 1.563 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/2.563, allocations: 47.84 kB / 1.563 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/2.563, allocations: 12 kB / 1.563 GB, free: 154.4 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.0002065/2.563, allocations: 268.9 kB / 1.563 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/2.563, allocations: 51.34 kB / 1.563 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/2.564, allocations: 265.5 kB / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/2.564, allocations: 4 kB / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/2.564, allocations: 0 / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/2.564, allocations: 7.984 kB / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/2.565, allocations: 0.7522 MB / 1.564 GB, free: 153 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/2.565, allocations: 192 / 1.564 GB, free: 153 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/2.565, allocations: 35.97 kB / 1.564 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/2.565, allocations: 0 / 1.564 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/2.565, allocations: 20.05 kB / 1.564 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/2.565, allocations: 3.938 kB / 1.564 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.565, allocations: 4 kB / 1.564 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/2.565, allocations: 407.1 kB / 1.565 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/2.566, allocations: 156.4 kB / 1.565 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/2.566, allocations: 8 kB / 1.565 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/2.566, allocations: 23.89 kB / 1.565 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/2.566, allocations: 23.91 kB / 1.565 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/2.566, allocations: 7.953 kB / 1.565 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003763/2.566, allocations: 410.8 kB / 1.565 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.41e-07/2.566, allocations: 7.938 kB / 1.565 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008406/2.567, allocations: 267.7 kB / 1.566 GB, free: 151.5 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.001212/2.568, allocations: 0.5949 MB / 1.566 GB, free: 151 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006318/2.569, allocations: 344.5 kB / 1.567 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/2.569, allocations: 4 kB / 1.567 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/2.569, allocations: 87.89 kB / 1.567 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/2.57, allocations: 261 kB / 1.567 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/2.572, allocations: 0.951 MB / 1.568 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/2.572, allocations: 0.8587 MB / 1.569 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003237/2.572, allocations: 104.2 kB / 1.569 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/2.572, allocations: 39.44 kB / 1.569 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of SimCode: time 4.41e-07/2.572, allocations: 0 / 1.569 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.01839/2.591, allocations: 11.06 MB / 1.58 GB, free: 137.4 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)