Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.464/2.464, allocations: 287.5 MB / 303.2 MB, free: 8.262 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.001269/0.001269, allocations: 170.2 kB / 371.8 MB, free: 10.83 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.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009373/0.0009372, allocations: 99.77 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006317/0.0006319, allocations: 16.38 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2294, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.499, allocations: 403.2 MB / 1.373 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/1.5, allocations: 101.8 kB / 1.373 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.235/2.735, allocations: 174.5 MB / 1.544 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.003e-06/2.735, allocations: 4 kB / 1.544 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.969e-05/2.735, allocations: 19.98 kB / 1.544 GB, free: 247.4 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.001767/2.737, allocations: 0.8609 MB / 1.544 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/2.737, allocations: 8.031 kB / 1.544 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/2.737, allocations: 60.28 kB / 1.545 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/2.738, allocations: 478.3 kB / 1.545 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/2.738, allocations: 25.31 kB / 1.545 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/2.738, allocations: 28 kB / 1.545 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/2.739, allocations: 294.2 kB / 1.545 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/2.739, allocations: 3.938 kB / 1.545 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/2.739, allocations: 11.94 kB / 1.545 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/2.739, allocations: 11.98 kB / 1.545 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/2.739, allocations: 194.1 kB / 1.545 GB, free: 245.3 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.002622/2.742, allocations: 1.507 MB / 1.547 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/2.742, allocations: 162.8 kB / 1.547 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/2.743, allocations: 88.75 kB / 1.547 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/2.745, allocations: 1.295 MB / 1.548 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/2.745, allocations: 30.56 kB / 1.549 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 2.445e-06/2.745, allocations: 0 / 1.549 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0009291/2.746, allocations: 270.2 kB / 1.549 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/2.746, allocations: 55.41 kB / 1.549 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/2.747, allocations: 0.573 MB / 1.549 GB, free: 241 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/2.747, allocations: 33.7 kB / 1.549 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/2.747, allocations: 268.1 kB / 1.55 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/2.747, allocations: 55.2 kB / 1.55 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/2.747, allocations: 4 kB / 1.55 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/2.747, allocations: 358.8 kB / 1.55 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/2.747, allocations: 76.52 kB / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/2.748, allocations: 241.2 kB / 1.55 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/2.748, allocations: 238.7 kB / 1.551 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/2.748, allocations: 0 / 1.551 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009006/2.749, allocations: 318.5 kB / 1.551 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/2.749, allocations: 165.8 kB / 1.551 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/2.75, allocations: 8 kB / 1.551 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/2.75, allocations: 4 kB / 1.551 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/2.75, allocations: 59.91 kB / 1.551 GB, free: 239 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/2.75, allocations: 4 kB / 1.551 GB, free: 239 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/2.751, allocations: 59.56 kB / 1.551 GB, free: 239 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/2.751, allocations: 19.98 kB / 1.551 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/2.751, allocations: 4 kB / 1.551 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007118/2.752, allocations: 236.8 kB / 1.551 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/2.752, allocations: 8 kB / 1.551 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/2.752, allocations: 7.938 kB / 1.551 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/2.752, allocations: 67.84 kB / 1.552 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/2.752, allocations: 7.984 kB / 1.552 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/2.753, allocations: 47.89 kB / 1.552 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/2.753, allocations: 15.98 kB / 1.552 GB, free: 238.6 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.0003272/2.753, allocations: 261 kB / 1.552 GB, free: 238.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/2.753, allocations: 51.34 kB / 1.552 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/2.754, allocations: 272.7 kB / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/2.754, allocations: 0 / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/2.754, allocations: 7.875 kB / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/2.754, allocations: 4 kB / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/2.755, allocations: 0.7512 MB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/2.755, allocations: 7.938 kB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/2.756, allocations: 31.97 kB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/2.756, allocations: 8.125 kB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/2.756, allocations: 4 kB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/2.756, allocations: 4 kB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.756, allocations: 3.938 kB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/2.756, allocations: 362.2 kB / 1.553 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/2.757, allocations: 164.3 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/2.757, allocations: 0 / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/2.757, allocations: 23.98 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/2.757, allocations: 15.92 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/2.757, allocations: 12 kB / 1.553 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006666/2.758, allocations: 410.8 kB / 1.554 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.91e-07/2.758, allocations: 0 / 1.554 GB, free: 236.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001307/2.759, allocations: 267.6 kB / 1.554 GB, free: 235.8 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.001647/2.761, allocations: 0.6205 MB / 1.555 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001194/2.762, allocations: 343.6 kB / 1.555 GB, free: 235 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.762, allocations: 0.875 kB / 1.555 GB, free: 235 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/2.762, allocations: 96.14 kB / 1.555 GB, free: 234.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/2.765, allocations: 247.7 kB / 1.555 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/2.767, allocations: 0.9588 MB / 1.556 GB, free: 233.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/2.767, allocations: 0.8471 MB / 1.557 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006725/2.768, allocations: 104.3 kB / 1.557 GB, free: 232.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/2.768, allocations: 43.42 kB / 1.557 GB, free: 232.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.593e-06/2.768, allocations: 0 / 1.557 GB, free: 232.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.02787/2.796, allocations: 11.08 MB / 1.568 GB, free: 221.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)