Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.675/1.675, allocations: 297.8 MB / 313.7 MB, free: 180 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.001066/0.001066, allocations: 184.5 kB / 384.6 MB, free: 10.89 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.474/1.474, allocations: 223.2 MB / 0.6626 GB, free: 4.367 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.0009046/0.0009045, allocations: 97.48 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004557, allocations: 15.28 kB / 0.9088 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7679, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9398/1.708, allocations: 393.5 MB / 1.411 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.708, allocations: 97.42 kB / 1.411 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3461/2.054, allocations: 177.9 MB / 1.584 GB, free: 134.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.954e-06/2.054, allocations: 0 / 1.584 GB, free: 134.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.414e-05/2.054, allocations: 12.22 kB / 1.584 GB, free: 134.2 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.001614/2.056, allocations: 0.8727 MB / 1.585 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/2.056, allocations: 8.031 kB / 1.585 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/2.056, allocations: 66.59 kB / 1.585 GB, free: 133.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/2.057, allocations: 474.4 kB / 1.586 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/2.057, allocations: 25.31 kB / 1.586 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/2.057, allocations: 32 kB / 1.586 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/2.058, allocations: 294.1 kB / 1.586 GB, free: 132.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/2.058, allocations: 0 / 1.586 GB, free: 132.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/2.058, allocations: 8 kB / 1.586 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/2.058, allocations: 8 kB / 1.586 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/2.058, allocations: 198.1 kB / 1.586 GB, free: 132.1 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.001856/2.06, allocations: 1.507 MB / 1.588 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/2.06, allocations: 170.8 kB / 1.588 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/2.06, allocations: 80.81 kB / 1.588 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/2.062, allocations: 1.292 MB / 1.589 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/2.062, allocations: 42.5 kB / 1.589 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/2.062, allocations: 0 / 1.589 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.000586/2.062, allocations: 262 kB / 1.59 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/2.062, allocations: 59.41 kB / 1.59 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/2.063, allocations: 0.5731 MB / 1.59 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/2.063, allocations: 29.7 kB / 1.59 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/2.063, allocations: 280.1 kB / 1.59 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/2.063, allocations: 47.3 kB / 1.59 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/2.063, allocations: 8 kB / 1.59 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/2.063, allocations: 358.8 kB / 1.591 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/2.063, allocations: 76.52 kB / 1.591 GB, free: 127 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/2.064, allocations: 233.3 kB / 1.591 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/2.064, allocations: 239.7 kB / 1.591 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/2.064, allocations: 3.938 kB / 1.591 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005451/2.065, allocations: 314.5 kB / 1.592 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/2.065, allocations: 157.7 kB / 1.592 GB, free: 126 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/2.065, allocations: 7.938 kB / 1.592 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/2.065, allocations: 7.938 kB / 1.592 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/2.065, allocations: 71.89 kB / 1.592 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/2.065, allocations: 4 kB / 1.592 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/2.065, allocations: 51.58 kB / 1.592 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/2.065, allocations: 19.98 kB / 1.592 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/2.065, allocations: 5.094 kB / 1.592 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004186/2.066, allocations: 241.1 kB / 1.592 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/2.066, allocations: 0 / 1.592 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/2.066, allocations: 4 kB / 1.592 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/2.066, allocations: 73.27 kB / 1.592 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/2.066, allocations: 8.25 kB / 1.592 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/2.066, allocations: 43.75 kB / 1.592 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/2.066, allocations: 16 kB / 1.592 GB, free: 125.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.000215/2.067, allocations: 265.7 kB / 1.593 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/2.067, allocations: 51.53 kB / 1.593 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/2.067, allocations: 265.7 kB / 1.593 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/2.067, allocations: 7.984 kB / 1.593 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.067, allocations: 7.938 kB / 1.593 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/2.067, allocations: 3.984 kB / 1.593 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009218/2.068, allocations: 0.7636 MB / 1.594 GB, free: 124 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/2.068, allocations: 3.938 kB / 1.594 GB, free: 124 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/2.068, allocations: 35.92 kB / 1.594 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/2.068, allocations: 0 / 1.594 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/2.068, allocations: 4 kB / 1.594 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/2.068, allocations: 0 / 1.594 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/2.068, allocations: 4 kB / 1.594 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/2.069, allocations: 367.6 kB / 1.594 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/2.069, allocations: 156.4 kB / 1.594 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/2.069, allocations: 11.94 kB / 1.594 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/2.069, allocations: 15.98 kB / 1.594 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/2.069, allocations: 19.97 kB / 1.594 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/2.069, allocations: 4 kB / 1.594 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003802/2.07, allocations: 414.8 kB / 1.595 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/2.07, allocations: 0 / 1.595 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008976/2.071, allocations: 271.6 kB / 1.595 GB, free: 122.7 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.001349/2.072, allocations: 0.6222 MB / 1.596 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006572/2.073, allocations: 345.8 kB / 1.596 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.073, allocations: 0 / 1.596 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/2.073, allocations: 95.83 kB / 1.596 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/2.074, allocations: 253.3 kB / 1.596 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/2.075, allocations: 0.9723 MB / 1.597 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/2.076, allocations: 0.8392 MB / 1.598 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003841/2.076, allocations: 112.6 kB / 1.598 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/2.076, allocations: 43.42 kB / 1.598 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.61e-07/2.076, allocations: 0 / 1.598 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.01612/2.092, allocations: 11.21 MB / 1.609 GB, free: 108.4 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)