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.8462/0.8462, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 192.8 kB / 169.7 MB, free: 1.727 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.99/1.99, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0009189/0.0009189, allocations: 82.19 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.418e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.19, allocations: 76.75 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.421/1.611, allocations: 358.7 MB / 0.9785 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.611, allocations: 99.8 kB / 0.9786 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.3183/1.93, allocations: 172.8 MB / 1.147 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.344e-06/1.93, allocations: 0 / 1.147 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.489e-05/1.93, allocations: 19.98 kB / 1.147 GB, free: 1.547 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.001356/1.931, allocations: 0.7206 MB / 1.148 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.931, allocations: 8.031 kB / 1.148 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/1.931, allocations: 55.42 kB / 1.148 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/1.932, allocations: 413.3 kB / 1.148 GB, free: 284 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/1.932, allocations: 28.36 kB / 1.148 GB, free: 256 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/1.932, allocations: 35.89 kB / 1.149 GB, free: 220 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5004/2.433, allocations: 256.9 kB / 1.149 GB, free: 177 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/2.433, allocations: 0.7812 kB / 1.149 GB, free: 177 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/2.433, allocations: 10.78 kB / 1.149 GB, free: 177 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/2.433, allocations: 5.234 kB / 1.149 GB, free: 177 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/2.434, allocations: 202 kB / 1.149 GB, free: 177 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.002381/2.436, allocations: 0.9304 MB / 1.15 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/2.437, allocations: 158.4 kB / 1.15 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/2.437, allocations: 34.44 kB / 1.15 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/2.438, allocations: 338.1 kB / 1.15 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/2.438, allocations: 34.14 kB / 1.15 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.036e-06/2.438, allocations: 0 / 1.15 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.001439/2.439, allocations: 281.1 kB / 1.151 GB, free: 176.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/2.439, allocations: 53.38 kB / 1.151 GB, free: 176.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/2.44, allocations: 406.8 kB / 1.151 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/2.44, allocations: 28.2 kB / 1.151 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/2.44, allocations: 236.9 kB / 1.151 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/2.44, allocations: 35.42 kB / 1.151 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/2.44, allocations: 3.812 kB / 1.151 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001215/2.44, allocations: 354.2 kB / 1.152 GB, free: 175.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/2.44, allocations: 52.39 kB / 1.152 GB, free: 175.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/2.441, allocations: 158.8 kB / 1.152 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/2.441, allocations: 71.92 kB / 1.152 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.441, allocations: 0 / 1.152 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004545/2.441, allocations: 220 kB / 1.152 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.253e-05/2.441, allocations: 274 kB / 1.153 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/2.441, allocations: 1.844 kB / 1.153 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/2.441, allocations: 2.062 kB / 1.153 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/2.442, allocations: 60.03 kB / 1.153 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/2.442, allocations: 7.953 kB / 1.153 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/2.442, allocations: 63.09 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/2.442, allocations: 10.06 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/2.442, allocations: 6.25 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002716/2.443, allocations: 127.8 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/2.443, allocations: 2.969 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/2.443, allocations: 3.297 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/2.443, allocations: 44.47 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/2.443, allocations: 1.891 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/2.443, allocations: 47.14 kB / 1.153 GB, free: 175 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/2.443, allocations: 13.09 kB / 1.153 GB, free: 175 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 9.231e-05/2.443, allocations: 116.5 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/2.443, allocations: 45.33 kB / 1.153 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/2.444, allocations: 183.5 kB / 1.153 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/2.444, allocations: 1.344 kB / 1.153 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/2.444, allocations: 0 / 1.153 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/2.444, allocations: 1.359 kB / 1.153 GB, free: 174.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/2.444, allocations: 356.1 kB / 1.154 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/2.444, allocations: 7.453 kB / 1.154 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/2.445, allocations: 37.23 kB / 1.154 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/2.445, allocations: 0.9688 kB / 1.154 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/2.445, allocations: 2 kB / 1.154 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/2.445, allocations: 6.812 kB / 1.154 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/2.445, allocations: 0.7188 kB / 1.154 GB, free: 174.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/2.445, allocations: 155 kB / 1.154 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/2.445, allocations: 136.4 kB / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/2.445, allocations: 5.516 kB / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/2.445, allocations: 40.59 kB / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/2.446, allocations: 5.203 kB / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/2.446, allocations: 4.75 kB / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005059/2.446, allocations: 357.1 kB / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/2.446, allocations: 0 / 1.154 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008915/2.447, allocations: 219.8 kB / 1.154 GB, free: 174.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.001481/2.448, allocations: 0.5345 MB / 1.155 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005959/2.449, allocations: 210.7 kB / 1.155 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/2.449, allocations: 0 / 1.155 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/2.449, allocations: 37.97 kB / 1.155 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/2.45, allocations: 208.8 kB / 1.155 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/2.457, allocations: 0.9904 MB / 1.156 GB, free: 174.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/2.457, allocations: 0.8266 MB / 1.157 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006486/2.458, allocations: 119.2 kB / 1.157 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/2.458, allocations: 28.62 kB / 1.157 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/2.458, allocations: 0 / 1.157 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.0244/2.482, allocations: 10.75 MB / 1.168 GB, free: 173.2 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)