Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4996/0.4996, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 103.7 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 8 kB / 0.4983 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 72.31 MB / 0.5689 GB, free: 1.953 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.231, allocations: 354.1 MB / 0.9147 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.232, allocations: 102.2 kB / 0.9148 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7288/1.961, allocations: 179.1 MB / 1.09 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.016e-06/1.961, allocations: 0 / 1.09 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.443e-05/1.961, allocations: 16.95 kB / 1.09 GB, free: 167.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001889/1.963, allocations: 0.8725 MB / 1.091 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.963, allocations: 11.03 kB / 1.091 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/1.963, allocations: 61.2 kB / 1.091 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/1.964, allocations: 463.8 kB / 1.091 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/1.964, allocations: 21.44 kB / 1.091 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/1.964, allocations: 30.06 kB / 1.091 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/1.964, allocations: 280.7 kB / 1.091 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.964, allocations: 7.516 kB / 1.091 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.965, allocations: 13.62 kB / 1.091 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.965, allocations: 9.406 kB / 1.091 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/1.965, allocations: 192.7 kB / 1.092 GB, free: 166.4 MB / 0.6042 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.00207/1.967, allocations: 1.501 MB / 1.093 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/1.967, allocations: 172.1 kB / 1.093 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/1.969, allocations: 1.296 MB / 1.094 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.969, allocations: 42.25 kB / 1.094 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/1.969, allocations: 0 / 1.094 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0006538/1.97, allocations: 257.7 kB / 1.095 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/1.97, allocations: 57.69 kB / 1.095 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/1.97, allocations: 0.5151 MB / 1.095 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/1.97, allocations: 32.58 kB / 1.095 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/1.971, allocations: 273.5 kB / 1.096 GB, free: 164 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/1.971, allocations: 53.11 kB / 1.096 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/1.971, allocations: 7.844 kB / 1.096 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.557e-05/1.971, allocations: 361.5 kB / 1.096 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/1.971, allocations: 78.05 kB / 1.096 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/1.971, allocations: 232.8 kB / 1.096 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/1.971, allocations: 107.3 kB / 1.096 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.971, allocations: 0 / 1.096 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005432/1.972, allocations: 312.4 kB / 1.097 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002116/1.972, allocations: 0.9618 MB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.972, allocations: 3.781 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.972, allocations: 6.219 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/1.972, allocations: 70.48 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.972, allocations: 6.031 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/1.973, allocations: 56.78 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.973, allocations: 14.19 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/1.973, allocations: 3.75 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000441/1.973, allocations: 243.3 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.973, allocations: 3.594 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/1.973, allocations: 3.75 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/1.974, allocations: 74.48 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.974, allocations: 3.375 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.974, allocations: 55.64 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/1.974, allocations: 14.38 kB / 1.098 GB, free: 162.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002053/1.974, allocations: 253.9 kB / 1.098 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/1.974, allocations: 49.7 kB / 1.098 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/1.975, allocations: 275.3 kB / 1.099 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.975, allocations: 6.672 kB / 1.099 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.975, allocations: 0 / 1.099 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.975, allocations: 0 / 1.099 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/1.976, allocations: 0.7603 MB / 1.099 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.976, allocations: 3.688 kB / 1.099 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.976, allocations: 37.14 kB / 1.099 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.976, allocations: 3.719 kB / 1.099 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/1.976, allocations: 7.969 kB / 1.1 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.976, allocations: 6.516 kB / 1.1 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.976, allocations: 7.719 kB / 1.1 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/1.977, allocations: 409.7 kB / 1.1 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/1.977, allocations: 160.9 kB / 1.1 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/1.977, allocations: 3.25 kB / 1.1 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/1.977, allocations: 24.95 kB / 1.1 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/1.977, allocations: 14.56 kB / 1.1 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/1.977, allocations: 11.31 kB / 1.1 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003998/1.977, allocations: 413.2 kB / 1.101 GB, free: 161 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.977, allocations: 2.938 kB / 1.101 GB, free: 161 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009254/1.978, allocations: 271.5 kB / 1.101 GB, free: 161 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00124/1.98, allocations: 0.6055 MB / 1.101 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006435/1.98, allocations: 339.7 kB / 1.102 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.98, allocations: 3.625 kB / 1.102 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/1.981, allocations: 90.61 kB / 1.102 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.982, allocations: 248.1 kB / 1.102 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/1.983, allocations: 0.9773 MB / 1.103 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.983, allocations: 0.8544 MB / 1.104 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003445/1.984, allocations: 109.1 kB / 1.104 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/1.984, allocations: 38.22 kB / 1.104 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/1.984, allocations: 7.906 kB / 1.104 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.01636/2, allocations: 11.03 MB / 1.115 GB, free: 158.8 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)