Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7696/0.7696, allocations: 127.4 MB / 134.9 MB, free: 3.441 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 175.3 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 100.4 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.054e-05, allocations: 2.656 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1593, allocations: 76.76 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7388/0.8981, allocations: 358.1 MB / 0.9712 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.8984, allocations: 94.52 kB / 0.9713 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6728/1.571, allocations: 171.5 MB / 1.139 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.482e-06/1.571, allocations: 0 / 1.139 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.586e-05/1.571, allocations: 16 kB / 1.139 GB, free: 123.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00114/1.572, allocations: 0.7199 MB / 1.139 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.573, allocations: 8.031 kB / 1.139 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/1.573, allocations: 51.44 kB / 1.14 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/1.573, allocations: 423.5 kB / 1.14 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/1.573, allocations: 8 kB / 1.14 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/1.573, allocations: 19.95 kB / 1.14 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002186/1.574, allocations: 116.8 kB / 1.14 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/1.574, allocations: 158.4 kB / 1.14 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.574, allocations: 0 / 1.14 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/1.574, allocations: 0 / 1.14 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/1.574, allocations: 4 kB / 1.14 GB, free: 122 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.001513/1.575, allocations: 1.192 MB / 1.141 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/1.576, allocations: 66.56 kB / 1.141 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/1.576, allocations: 24.98 kB / 1.141 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/1.576, allocations: 4 kB / 1.141 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/1.576, allocations: 46.5 kB / 1.142 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/1.576, allocations: 0 / 1.142 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0007458/1.576, allocations: 177.1 kB / 1.142 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/1.576, allocations: 59.41 kB / 1.142 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/1.577, allocations: 365.2 kB / 1.142 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/1.577, allocations: 29.64 kB / 1.142 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.577, allocations: 247.9 kB / 1.142 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/1.577, allocations: 23.66 kB / 1.142 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/1.577, allocations: 0 / 1.142 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.045e-05/1.577, allocations: 350.8 kB / 1.143 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/1.577, allocations: 52.31 kB / 1.143 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.577, allocations: 149.4 kB / 1.143 GB, free: 119 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/1.578, allocations: 93.86 kB / 1.143 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.578, allocations: 0 / 1.143 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003486/1.578, allocations: 209.1 kB / 1.143 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/1.578, allocations: 275.8 kB / 1.143 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/1.578, allocations: 0 / 1.143 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.578, allocations: 4 kB / 1.143 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/1.578, allocations: 67.88 kB / 1.144 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.578, allocations: 0 / 1.144 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/1.579, allocations: 59.7 kB / 1.144 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/1.579, allocations: 15.98 kB / 1.144 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/1.579, allocations: 4 kB / 1.144 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002404/1.579, allocations: 114.1 kB / 1.144 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/1.579, allocations: 4.016 kB / 1.144 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/1.579, allocations: 4 kB / 1.144 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/1.579, allocations: 43.97 kB / 1.144 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-06/1.579, allocations: 0 / 1.144 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/1.58, allocations: 31.88 kB / 1.144 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/1.58, allocations: 19.92 kB / 1.144 GB, free: 118 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.753e-05/1.58, allocations: 108.9 kB / 1.144 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/1.58, allocations: 35.53 kB / 1.144 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/1.58, allocations: 137.2 kB / 1.144 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.58, allocations: 0 / 1.144 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.58, allocations: 0 / 1.144 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.58, allocations: 0 / 1.144 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/1.58, allocations: 298 kB / 1.144 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.58, allocations: 4 kB / 1.144 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/1.58, allocations: 39.95 kB / 1.144 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.58, allocations: 0 / 1.144 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.58, allocations: 4 kB / 1.144 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.581, allocations: 0 / 1.144 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.581, allocations: 7.891 kB / 1.144 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/1.581, allocations: 219 kB / 1.145 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/1.581, allocations: 124.6 kB / 1.145 GB, free: 117 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/1.581, allocations: 0 / 1.145 GB, free: 117 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/1.581, allocations: 35.95 kB / 1.145 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/1.581, allocations: 15.88 kB / 1.145 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.581, allocations: 11.94 kB / 1.145 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002257/1.581, allocations: 279 kB / 1.145 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.581, allocations: 0 / 1.145 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007208/1.582, allocations: 223.5 kB / 1.145 GB, free: 116.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001085/1.583, allocations: 0.5063 MB / 1.146 GB, free: 116 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003552/1.584, allocations: 204.9 kB / 1.146 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.584, allocations: 0 / 1.146 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.742e-05/1.584, allocations: 35.94 kB / 1.146 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/1.585, allocations: 184.2 kB / 1.146 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/1.59, allocations: 0.9676 MB / 1.147 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/1.591, allocations: 0.8194 MB / 1.148 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004571/1.591, allocations: 111.2 kB / 1.148 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/1.591, allocations: 31.42 kB / 1.148 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/1.591, allocations: 0 / 1.148 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.01299/1.604, allocations: 8.722 MB / 1.157 GB, free: 105 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)