Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009879/0.0009879, allocations: 171.5 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4492/0.4492, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.345/1.345, allocations: 223.2 MB / 348.4 MB, free: 4.957 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.0008858/0.0008858, allocations: 100.5 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 12 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 71.01 MB / 0.5594 GB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7025/1.025, allocations: 345.5 MB / 0.8968 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.025, allocations: 95.62 kB / 0.8969 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8045/1.83, allocations: 239.8 MB / 1.131 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/1.83, allocations: 4 kB / 1.131 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001212/1.83, allocations: 16 kB / 1.131 GB, free: 49.25 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002518/1.833, allocations: 1.086 MB / 1.132 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.833, allocations: 8.031 kB / 1.132 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/1.833, allocations: 83.91 kB / 1.132 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.834, allocations: 0.5473 MB / 1.133 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/1.834, allocations: 37.38 kB / 1.133 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/1.834, allocations: 52.38 kB / 1.133 GB, free: 47.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.836, allocations: 0.626 MB / 1.133 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/1.836, allocations: 7.875 kB / 1.133 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/1.836, allocations: 24 kB / 1.133 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/1.836, allocations: 12 kB / 1.133 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/1.837, allocations: 0.5034 MB / 1.134 GB, free: 46.11 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.003526/1.84, allocations: 3.209 MB / 1.137 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/1.841, allocations: 347.7 kB / 1.137 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/1.841, allocations: 234.6 kB / 1.138 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/1.841, allocations: 348.4 kB / 1.138 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/1.842, allocations: 42.56 kB / 1.138 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 3.296e-06/1.842, allocations: 0 / 1.138 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.002001/1.844, allocations: 0.8432 MB / 1.139 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.844, allocations: 59.41 kB / 1.139 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/1.844, allocations: 0.5783 MB / 1.139 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/1.844, allocations: 37.7 kB / 1.14 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.845, allocations: 324.4 kB / 1.14 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/1.845, allocations: 134.1 kB / 1.14 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/1.845, allocations: 12 kB / 1.14 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/1.845, allocations: 370.8 kB / 1.14 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/1.845, allocations: 217.2 kB / 1.141 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/1.846, allocations: 396.3 kB / 1.141 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/1.847, allocations: 0.5744 MB / 1.141 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.847, allocations: 0 / 1.141 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00136/1.848, allocations: 0.7222 MB / 1.142 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.848, allocations: 221.6 kB / 1.142 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.848, allocations: 11.92 kB / 1.142 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/1.849, allocations: 148 kB / 1.143 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.849, allocations: 163.7 kB / 1.143 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005411/1.85, allocations: 0.6304 MB / 1.143 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/1.851, allocations: 107.4 kB / 1.143 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/1.851, allocations: 32.08 kB / 1.143 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.851, allocations: 4 kB / 1.143 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/1.852, allocations: 0.6189 MB / 1.144 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.852, allocations: 4 kB / 1.144 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/1.852, allocations: 8 kB / 1.144 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/1.853, allocations: 168.3 kB / 1.144 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/1.853, allocations: 11.94 kB / 1.144 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/1.853, allocations: 99.41 kB / 1.144 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/1.853, allocations: 31.98 kB / 1.144 GB, free: 34.88 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003628/1.854, allocations: 268.9 kB / 1.145 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.854, allocations: 71.09 kB / 1.145 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/1.855, allocations: 0.659 MB / 1.145 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.855, allocations: 8 kB / 1.145 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.855, allocations: 0 / 1.145 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.855, allocations: 7.984 kB / 1.145 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/1.858, allocations: 1.375 MB / 1.147 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.858, allocations: 0 / 1.147 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/1.858, allocations: 95.97 kB / 1.147 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003801/1.859, allocations: 120.8 kB / 1.147 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/1.859, allocations: 19.92 kB / 1.147 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004823/1.859, allocations: 0.6304 MB / 1.148 GB, free: 31.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.859, allocations: 8.094 kB / 1.148 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/1.86, allocations: 0.724 MB / 1.148 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/1.861, allocations: 204 kB / 1.148 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.861, allocations: 8 kB / 1.148 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/1.861, allocations: 59.88 kB / 1.148 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/1.861, allocations: 27.91 kB / 1.149 GB, free: 30.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/1.862, allocations: 23.98 kB / 1.149 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004788/1.862, allocations: 395.1 kB / 1.149 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.862, allocations: 0 / 1.149 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001554/1.864, allocations: 431.3 kB / 1.149 GB, free: 29.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/1.865, allocations: 418.4 kB / 1.15 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.867, allocations: 0.9056 MB / 1.151 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.867, allocations: 4 kB / 1.151 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006372/1.867, allocations: 292.5 kB / 1.151 GB, free: 28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.869, allocations: 268.7 kB / 1.151 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/1.871, allocations: 1.288 MB / 1.152 GB, free: 26.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.871, allocations: 0.9158 MB / 1.153 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006921/1.872, allocations: 141 kB / 1.153 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.872, allocations: 63.42 kB / 1.153 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/1.872, allocations: 0 / 1.153 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.02444/1.897, allocations: 13.17 MB / 1.166 GB, free: 12.26 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)