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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7263/0.7263, allocations: 128.8 MB / 143.7 MB, free: 2.289 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.001209/0.001209, allocations: 191.2 kB / 173.8 MB, free: 6.102 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.962/1.962, allocations: 205.4 MB / 409 MB, free: 10.5 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: 86.94 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004353, allocations: 17.41 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 76.76 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/1.755, allocations: 363.7 MB / 0.9905 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/1.755, allocations: 106.5 kB / 0.9906 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.394/2.149, allocations: 171.3 MB / 1.158 GB, free: 78.55 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.536e-06/2.149, allocations: 0 / 1.158 GB, free: 78.55 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.569e-05/2.149, allocations: 12 kB / 1.158 GB, free: 78.54 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001686/2.151, allocations: 0.8689 MB / 1.159 GB, free: 77.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/2.151, allocations: 8.031 kB / 1.159 GB, free: 77.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/2.151, allocations: 59.34 kB / 1.159 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/2.152, allocations: 457.3 kB / 1.159 GB, free: 77.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/2.152, allocations: 20.56 kB / 1.159 GB, free: 77.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/2.152, allocations: 36 kB / 1.159 GB, free: 77.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/2.153, allocations: 332.4 kB / 1.16 GB, free: 76.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/2.153, allocations: 4 kB / 1.16 GB, free: 76.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/2.153, allocations: 12 kB / 1.16 GB, free: 76.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/2.153, allocations: 4 kB / 1.16 GB, free: 76.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/2.153, allocations: 254 kB / 1.16 GB, free: 76.41 MB / 0.6511 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.001693/2.155, allocations: 1.277 MB / 1.161 GB, free: 75.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/2.156, allocations: 202.7 kB / 1.161 GB, free: 74.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/2.157, allocations: 1.28 MB / 1.163 GB, free: 73.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/2.157, allocations: 34.5 kB / 1.163 GB, free: 73.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/2.157, allocations: 8 kB / 1.163 GB, free: 73.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.001144/2.158, allocations: 342.2 kB / 1.163 GB, free: 72.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/2.158, allocations: 55.34 kB / 1.163 GB, free: 72.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/2.159, allocations: 0.5176 MB / 1.164 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/2.159, allocations: 29.7 kB / 1.164 GB, free: 72.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/2.159, allocations: 275.8 kB / 1.164 GB, free: 72.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/2.159, allocations: 51.23 kB / 1.164 GB, free: 72.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/2.159, allocations: 8 kB / 1.164 GB, free: 72.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001134/2.159, allocations: 358.8 kB / 1.164 GB, free: 71.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/2.16, allocations: 91.94 kB / 1.164 GB, free: 71.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/2.16, allocations: 242.6 kB / 1.165 GB, free: 71.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/2.16, allocations: 121.3 kB / 1.165 GB, free: 71.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/2.16, allocations: 4 kB / 1.165 GB, free: 71.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006295/2.161, allocations: 343.2 kB / 1.165 GB, free: 70.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/2.161, allocations: 0.7889 MB / 1.166 GB, free: 69.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/2.161, allocations: 0 / 1.166 GB, free: 69.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/2.161, allocations: 7.953 kB / 1.166 GB, free: 69.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/2.161, allocations: 71.89 kB / 1.166 GB, free: 69.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/2.161, allocations: 4 kB / 1.166 GB, free: 69.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/2.162, allocations: 67.56 kB / 1.166 GB, free: 69.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/2.162, allocations: 12 kB / 1.166 GB, free: 69.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/2.162, allocations: 10.17 kB / 1.166 GB, free: 69.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003915/2.162, allocations: 235.8 kB / 1.166 GB, free: 69.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/2.162, allocations: 0 / 1.166 GB, free: 69.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/2.162, allocations: 4 kB / 1.166 GB, free: 69.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/2.162, allocations: 59.91 kB / 1.166 GB, free: 69.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/2.162, allocations: 4 kB / 1.166 GB, free: 69.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/2.163, allocations: 47.91 kB / 1.166 GB, free: 69.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/2.163, allocations: 12 kB / 1.166 GB, free: 69.45 MB / 0.6511 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.0002296/2.163, allocations: 260.9 kB / 1.166 GB, free: 69.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/2.163, allocations: 43.44 kB / 1.167 GB, free: 69.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/2.164, allocations: 283.1 kB / 1.167 GB, free: 68.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/2.164, allocations: 4 kB / 1.167 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.164, allocations: 7.984 kB / 1.167 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/2.164, allocations: 0 / 1.167 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/2.164, allocations: 389.3 kB / 1.167 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/2.164, allocations: 0 / 1.167 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/2.164, allocations: 31.97 kB / 1.167 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/2.164, allocations: 4 kB / 1.167 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/2.164, allocations: 0 / 1.167 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/2.164, allocations: 0 / 1.167 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/2.164, allocations: 4 kB / 1.167 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/2.165, allocations: 328.2 kB / 1.168 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/2.165, allocations: 140.5 kB / 1.168 GB, free: 67.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/2.165, allocations: 4 kB / 1.168 GB, free: 67.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/2.165, allocations: 28.03 kB / 1.168 GB, free: 67.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/2.166, allocations: 7.984 kB / 1.168 GB, free: 67.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/2.166, allocations: 4 kB / 1.168 GB, free: 67.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004133/2.166, allocations: 442.8 kB / 1.168 GB, free: 67.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/2.166, allocations: 0 / 1.168 GB, free: 67.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008732/2.167, allocations: 263.6 kB / 1.168 GB, free: 67.14 MB / 0.6511 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.001415/2.168, allocations: 0.612 MB / 1.169 GB, free: 66.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00078/2.169, allocations: 339.7 kB / 1.169 GB, free: 66.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/2.169, allocations: 0 / 1.169 GB, free: 66.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/2.169, allocations: 84.64 kB / 1.169 GB, free: 66.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/2.17, allocations: 245.7 kB / 1.17 GB, free: 66.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/2.175, allocations: 1.24 MB / 1.171 GB, free: 64.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/2.175, allocations: 0.8584 MB / 1.172 GB, free: 63.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004715/2.175, allocations: 96.33 kB / 1.172 GB, free: 63.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/2.176, allocations: 39.42 kB / 1.172 GB, free: 63.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/2.176, allocations: 4 kB / 1.172 GB, free: 63.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.02088/2.197, allocations: 11.28 MB / 1.183 GB, free: 52.56 MB / 0.6511 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)