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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7767/0.7767, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.001099/0.001099, allocations: 183.6 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 394.8 MB, free: 21.16 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.001344/0.001343, allocations: 93.8 kB / 470.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005354/0.0005357, allocations: 12 kB / 0.5423 GB, free: 7.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3833, allocations: 74.54 MB / 0.6151 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7705/1.154, allocations: 357.8 MB / 0.9646 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.154, allocations: 108.6 kB / 0.9647 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7086/1.863, allocations: 172.3 MB / 1.133 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.625e-06/1.863, allocations: 0 / 1.133 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.811e-05/1.863, allocations: 19.92 kB / 1.133 GB, free: 120 MB / 0.6355 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.001386/1.864, allocations: 0.8098 MB / 1.134 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.864, allocations: 8.031 kB / 1.134 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/1.865, allocations: 52.38 kB / 1.134 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/1.865, allocations: 442.3 kB / 1.134 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/1.865, allocations: 24.81 kB / 1.134 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/1.865, allocations: 28.38 kB / 1.134 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/1.866, allocations: 307.7 kB / 1.135 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.866, allocations: 7.938 kB / 1.135 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.866, allocations: 4 kB / 1.135 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.866, allocations: 7.938 kB / 1.135 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/1.867, allocations: 269.5 kB / 1.135 GB, free: 118 MB / 0.6355 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.001432/1.869, allocations: 0.9221 MB / 1.136 GB, free: 117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/1.869, allocations: 202.3 kB / 1.136 GB, free: 116.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/1.869, allocations: 52.95 kB / 1.136 GB, free: 116.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/1.87, allocations: 348.3 kB / 1.136 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/1.87, allocations: 30.56 kB / 1.136 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/1.87, allocations: 0 / 1.136 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.001475/1.871, allocations: 412.8 kB / 1.137 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/1.871, allocations: 51.41 kB / 1.137 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/1.872, allocations: 461.9 kB / 1.137 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/1.872, allocations: 37.69 kB / 1.137 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.872, allocations: 232.1 kB / 1.138 GB, free: 115.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/1.872, allocations: 31.55 kB / 1.138 GB, free: 115.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/1.872, allocations: 4 kB / 1.138 GB, free: 115.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/1.872, allocations: 354.8 kB / 1.138 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/1.872, allocations: 91.94 kB / 1.138 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/1.873, allocations: 216.6 kB / 1.138 GB, free: 114.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/1.873, allocations: 212.2 kB / 1.138 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.873, allocations: 0 / 1.138 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006404/1.874, allocations: 306.7 kB / 1.139 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/1.874, allocations: 114.5 kB / 1.139 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.874, allocations: 4 kB / 1.139 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.874, allocations: 0 / 1.139 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/1.874, allocations: 59.95 kB / 1.139 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.874, allocations: 4 kB / 1.139 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/1.874, allocations: 63.67 kB / 1.139 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/1.875, allocations: 15.98 kB / 1.139 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/1.875, allocations: 4 kB / 1.139 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003123/1.875, allocations: 165.1 kB / 1.139 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/1.875, allocations: 3.938 kB / 1.139 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/1.875, allocations: 4.375 kB / 1.139 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/1.875, allocations: 39.97 kB / 1.139 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-06/1.875, allocations: 0 / 1.139 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/1.875, allocations: 43.81 kB / 1.139 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/1.875, allocations: 11.94 kB / 1.139 GB, free: 113.3 MB / 0.6355 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 () * Number of clocked 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 0.0001625/1.876, allocations: 248.9 kB / 1.139 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/1.876, allocations: 43.44 kB / 1.139 GB, free: 113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/1.876, allocations: 258.8 kB / 1.14 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.876, allocations: 4 kB / 1.14 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.876, allocations: 0 / 1.14 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.876, allocations: 0 / 1.14 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/1.877, allocations: 361.3 kB / 1.14 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.877, allocations: 7.875 kB / 1.14 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.877, allocations: 35.95 kB / 1.14 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.877, allocations: 3.938 kB / 1.14 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.877, allocations: 8 kB / 1.14 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.877, allocations: 0 / 1.14 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.877, allocations: 0 / 1.14 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/1.877, allocations: 248.4 kB / 1.14 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/1.877, allocations: 124.6 kB / 1.14 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/1.877, allocations: 11.98 kB / 1.141 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/1.878, allocations: 39.95 kB / 1.141 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.878, allocations: 4 kB / 1.141 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.878, allocations: 7.984 kB / 1.141 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003081/1.878, allocations: 362.8 kB / 1.141 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.878, allocations: 0 / 1.141 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006578/1.879, allocations: 219.6 kB / 1.141 GB, free: 111.2 MB / 0.6355 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 () * Number of clocked 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.001163/1.88, allocations: 0.5672 MB / 1.142 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007594/1.881, allocations: 298.5 kB / 1.142 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.881, allocations: 0 / 1.142 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/1.881, allocations: 80.06 kB / 1.142 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/1.882, allocations: 213.7 kB / 1.142 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/1.888, allocations: 1.321 MB / 1.144 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/1.888, allocations: 0.8155 MB / 1.144 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003677/1.888, allocations: 79.17 kB / 1.144 GB, free: 108 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/1.888, allocations: 43.41 kB / 1.144 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of SimCode: time 3.4e-07/1.888, allocations: 3.938 kB / 1.144 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.01552/1.904, allocations: 9.809 MB / 1.154 GB, free: 98.22 MB / 0.6355 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)