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.00108/0.00108, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4825/0.4825, allocations: 90.81 MB / 104.5 MB, free: 13.86 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.395/1.395, allocations: 221.3 MB / 348.3 MB, free: 12.53 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.0008661/0.0008661, allocations: 104.3 kB / 421.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.679e-05, allocations: 4 kB / 0.4896 GB, free: 46.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1634, allocations: 72.31 MB / 0.5602 GB, free: 6.406 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.345, allocations: 354.1 MB / 0.906 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.345, allocations: 89.77 kB / 0.9061 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6878/2.033, allocations: 178.5 MB / 1.08 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/2.033, allocations: 0 / 1.08 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.463e-05/2.033, allocations: 7.875 kB / 1.08 GB, free: 166.8 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.00112/2.034, allocations: 0.785 MB / 1.081 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/2.034, allocations: 11.8 kB / 1.081 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/2.035, allocations: 62.5 kB / 1.081 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/2.035, allocations: 445.1 kB / 1.082 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/2.035, allocations: 26.78 kB / 1.082 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/2.035, allocations: 26.88 kB / 1.082 GB, free: 165.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/2.036, allocations: 268.6 kB / 1.082 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/2.036, allocations: 3.953 kB / 1.082 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/2.036, allocations: 11.06 kB / 1.082 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/2.036, allocations: 10.97 kB / 1.082 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/2.036, allocations: 161.8 kB / 1.082 GB, free: 165.8 MB / 0.6042 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.001715/2.038, allocations: 1.502 MB / 1.084 GB, free: 165 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/2.038, allocations: 142.9 kB / 1.084 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/2.038, allocations: 75.17 kB / 1.084 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/2.039, allocations: 1.314 MB / 1.085 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/2.039, allocations: 32.53 kB / 1.085 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/2.039, allocations: 0 / 1.085 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003193/2.04, allocations: 174.5 kB / 1.085 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/2.04, allocations: 57.84 kB / 1.085 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/2.04, allocations: 0.5151 MB / 1.086 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/2.04, allocations: 29.67 kB / 1.086 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/2.041, allocations: 268.8 kB / 1.086 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/2.041, allocations: 52.34 kB / 1.086 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/2.041, allocations: 3.75 kB / 1.086 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/2.041, allocations: 365.3 kB / 1.087 GB, free: 163 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/2.041, allocations: 56.75 kB / 1.087 GB, free: 163 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/2.041, allocations: 216.5 kB / 1.087 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/2.041, allocations: 85 kB / 1.087 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/2.041, allocations: 0 / 1.087 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003995/2.042, allocations: 277.2 kB / 1.087 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/2.042, allocations: 0.9576 MB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/2.042, allocations: 10.67 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/2.042, allocations: 5.375 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/2.042, allocations: 63.25 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/2.042, allocations: 5.656 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/2.043, allocations: 53.81 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/2.043, allocations: 17.84 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/2.043, allocations: 4.75 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002979/2.043, allocations: 208.1 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/2.043, allocations: 3.906 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/2.043, allocations: 7.156 kB / 1.088 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/2.043, allocations: 63.58 kB / 1.089 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/2.043, allocations: 9.203 kB / 1.089 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/2.043, allocations: 56.5 kB / 1.089 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/2.043, allocations: 11.81 kB / 1.089 GB, free: 161.8 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 () * 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 7.322e-05/2.044, allocations: 125.3 kB / 1.089 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/2.044, allocations: 49.69 kB / 1.089 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/2.044, allocations: 236.5 kB / 1.089 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/2.044, allocations: 2.875 kB / 1.089 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.044, allocations: 0 / 1.089 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.044, allocations: 0 / 1.089 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/2.045, allocations: 0.7334 MB / 1.09 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/2.045, allocations: 0 / 1.09 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/2.045, allocations: 41.12 kB / 1.09 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/2.045, allocations: 0 / 1.09 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/2.045, allocations: 11.47 kB / 1.09 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/2.045, allocations: 3.969 kB / 1.09 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.045, allocations: 0 / 1.09 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/2.045, allocations: 378.8 kB / 1.09 GB, free: 161 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/2.045, allocations: 160.7 kB / 1.09 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/2.045, allocations: 3.812 kB / 1.09 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/2.046, allocations: 21.84 kB / 1.09 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/2.046, allocations: 18.91 kB / 1.09 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/2.046, allocations: 4.688 kB / 1.09 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004283/2.046, allocations: 408.3 kB / 1.091 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/2.046, allocations: 0 / 1.091 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008261/2.047, allocations: 267.8 kB / 1.091 GB, free: 160.7 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 () * 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.001141/2.048, allocations: 0.5775 MB / 1.092 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004723/2.049, allocations: 308.8 kB / 1.092 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.049, allocations: 0 / 1.092 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/2.049, allocations: 76.22 kB / 1.092 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/2.05, allocations: 257.2 kB / 1.092 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008681/2.051, allocations: 0.5791 MB / 1.093 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/2.051, allocations: 0.8538 MB / 1.094 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004814/2.052, allocations: 191.5 kB / 1.094 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/2.052, allocations: 27.88 kB / 1.094 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/2.052, allocations: 0 / 1.094 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.01727/2.069, allocations: 12.15 MB / 1.106 GB, free: 159 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)