Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [/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.7914/0.7914, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.0009413/0.0009417, allocations: 188 kB / 161.7 MB, free: 2.73 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.712/1.712, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.000786/0.000786, allocations: 96.52 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004037, allocations: 16 kB / 0.5423 GB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4025, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7795/1.182, allocations: 362.7 MB / 0.9693 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/1.182, allocations: 111.6 kB / 0.9695 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.6872/1.87, allocations: 170.4 MB / 1.136 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.006e-06/1.87, allocations: 0 / 1.136 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.255e-05/1.87, allocations: 12 kB / 1.136 GB, free: 116.4 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.002223/1.872, allocations: 0.8644 MB / 1.137 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.872, allocations: 8.031 kB / 1.137 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/1.873, allocations: 64.28 kB / 1.137 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.874, allocations: 478.4 kB / 1.137 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/1.874, allocations: 25.31 kB / 1.137 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/1.874, allocations: 32 kB / 1.137 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/1.875, allocations: 328.4 kB / 1.138 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/1.875, allocations: 4 kB / 1.138 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/1.875, allocations: 4 kB / 1.138 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/1.875, allocations: 11.94 kB / 1.138 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/1.875, allocations: 250.1 kB / 1.138 GB, free: 114.3 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.002111/1.878, allocations: 1.281 MB / 1.139 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/1.878, allocations: 210.5 kB / 1.139 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/1.878, allocations: 84.92 kB / 1.139 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/1.88, allocations: 1.268 MB / 1.141 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.88, allocations: 34.55 kB / 1.141 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.577e-06/1.88, allocations: 0 / 1.141 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001175/1.881, allocations: 351.3 kB / 1.141 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.881, allocations: 59.41 kB / 1.141 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/1.882, allocations: 0.5691 MB / 1.142 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/1.882, allocations: 33.7 kB / 1.142 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/1.882, allocations: 271.8 kB / 1.142 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/1.882, allocations: 51.34 kB / 1.142 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/1.882, allocations: 8 kB / 1.142 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.882, allocations: 354.8 kB / 1.142 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/1.882, allocations: 91.94 kB / 1.142 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/1.883, allocations: 234.5 kB / 1.143 GB, free: 109 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/1.883, allocations: 252.8 kB / 1.143 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.883, allocations: 0 / 1.143 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006734/1.884, allocations: 343.9 kB / 1.143 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/1.884, allocations: 151.9 kB / 1.143 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.884, allocations: 0 / 1.143 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.884, allocations: 4 kB / 1.143 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/1.884, allocations: 79.89 kB / 1.143 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-05/1.884, allocations: 4.094 kB / 1.143 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/1.885, allocations: 55.59 kB / 1.143 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/1.885, allocations: 16 kB / 1.143 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.885, allocations: 5.875 kB / 1.143 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004068/1.885, allocations: 227.6 kB / 1.144 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.885, allocations: 4 kB / 1.144 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.98e-06/1.885, allocations: 4.25 kB / 1.144 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/1.885, allocations: 71.84 kB / 1.144 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.885, allocations: 7.938 kB / 1.144 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/1.886, allocations: 47.66 kB / 1.144 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/1.886, allocations: 12 kB / 1.144 GB, free: 107.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * 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.0002294/1.886, allocations: 265 kB / 1.144 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/1.886, allocations: 43.44 kB / 1.144 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006032/1.887, allocations: 275 kB / 1.144 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.887, allocations: 4 kB / 1.144 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.887, allocations: 0 / 1.144 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.887, allocations: 3.984 kB / 1.144 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/1.887, allocations: 389.3 kB / 1.145 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.887, allocations: 0 / 1.145 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/1.887, allocations: 43.91 kB / 1.145 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.887, allocations: 4 kB / 1.145 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.887, allocations: 3.938 kB / 1.145 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.887, allocations: 0 / 1.145 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.887, allocations: 0 / 1.145 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/1.888, allocations: 324.3 kB / 1.145 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/1.888, allocations: 144.5 kB / 1.145 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/1.888, allocations: 3.938 kB / 1.145 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.889, allocations: 23.97 kB / 1.145 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/1.889, allocations: 11.98 kB / 1.145 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.889, allocations: 8.062 kB / 1.145 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004504/1.889, allocations: 438.8 kB / 1.146 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.889, allocations: 0 / 1.146 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009108/1.89, allocations: 255.7 kB / 1.146 GB, free: 105.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * 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.001476/1.892, allocations: 0.6159 MB / 1.147 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008401/1.892, allocations: 351.1 kB / 1.147 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.892, allocations: 0 / 1.147 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/1.893, allocations: 67.95 kB / 1.147 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.894, allocations: 254.1 kB / 1.147 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/1.898, allocations: 1.252 MB / 1.148 GB, free: 103 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.898, allocations: 0.839 MB / 1.149 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004666/1.898, allocations: 96.23 kB / 1.149 GB, free: 102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/1.898, allocations: 43.44 kB / 1.149 GB, free: 102 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/1.899, allocations: 0 / 1.149 GB, free: 102 MB / 0.6355 GB Notification: Performance of Templates: time 0.01911/1.918, allocations: 11.44 MB / 1.161 GB, free: 90.63 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)