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 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.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.002148/0.002148, allocations: 181.6 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.5122/0.5122, allocations: 92 MB / 108.5 MB, free: 13.08 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.492/1.492, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.001004/0.001004, allocations: 99.14 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005569/0.000557, allocations: 8 kB / 0.4982 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1584, allocations: 72.32 MB / 0.5689 GB, free: 1.914 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.191, allocations: 347.2 MB / 0.9079 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.191, allocations: 101.8 kB / 0.908 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8517/2.043, allocations: 241.4 MB / 1.144 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.186e-06/2.043, allocations: 0 / 1.144 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001347/2.043, allocations: 21.88 kB / 1.144 GB, free: 139.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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.004319/2.047, allocations: 1.088 MB / 1.145 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/2.047, allocations: 8.031 kB / 1.145 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/2.048, allocations: 81.12 kB / 1.145 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/2.05, allocations: 0.5193 MB / 1.145 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/2.05, allocations: 37 kB / 1.145 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/2.05, allocations: 56 kB / 1.146 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/2.052, allocations: 0.6254 MB / 1.146 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/2.052, allocations: 4 kB / 1.146 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/2.052, allocations: 23.94 kB / 1.146 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/2.052, allocations: 12 kB / 1.146 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/2.054, allocations: 0.4995 MB / 1.147 GB, free: 136.3 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.006016/2.06, allocations: 3.223 MB / 1.15 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/2.061, allocations: 339 kB / 1.15 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/2.062, allocations: 350.5 kB / 1.15 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/2.062, allocations: 42.5 kB / 1.15 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 4.719e-06/2.062, allocations: 0 / 1.15 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.003665/2.066, allocations: 0.836 MB / 1.151 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/2.066, allocations: 55.41 kB / 1.151 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/2.067, allocations: 0.5073 MB / 1.152 GB, free: 130.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/2.067, allocations: 41.7 kB / 1.152 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/2.067, allocations: 327.1 kB / 1.152 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/2.067, allocations: 136.9 kB / 1.152 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/2.067, allocations: 12 kB / 1.152 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001423/2.068, allocations: 370.8 kB / 1.153 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008778/2.068, allocations: 213.2 kB / 1.153 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/2.07, allocations: 400.2 kB / 1.153 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/2.071, allocations: 256.7 kB / 1.154 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/2.071, allocations: 4 kB / 1.154 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002501/2.073, allocations: 0.7184 MB / 1.154 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004616/2.074, allocations: 1.741 MB / 1.156 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/2.074, allocations: 4 kB / 1.156 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/2.075, allocations: 155.8 kB / 1.156 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/2.076, allocations: 155.8 kB / 1.156 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009124/2.077, allocations: 0.6265 MB / 1.157 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/2.078, allocations: 115.2 kB / 1.157 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/2.078, allocations: 31.98 kB / 1.157 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/2.078, allocations: 4 kB / 1.157 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002256/2.081, allocations: 0.6191 MB / 1.158 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/2.081, allocations: 4 kB / 1.158 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/2.081, allocations: 8 kB / 1.158 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/2.082, allocations: 159.8 kB / 1.158 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/2.082, allocations: 12.3 kB / 1.158 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/2.083, allocations: 87.55 kB / 1.158 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/2.083, allocations: 35.98 kB / 1.158 GB, free: 124.2 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.0005466/2.084, allocations: 276.8 kB / 1.158 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/2.084, allocations: 71.11 kB / 1.158 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/2.087, allocations: 0.6551 MB / 1.159 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/2.087, allocations: 8 kB / 1.159 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/2.087, allocations: 8 kB / 1.159 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/2.087, allocations: 3.984 kB / 1.159 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/2.091, allocations: 1.375 MB / 1.16 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/2.091, allocations: 0 / 1.16 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/2.091, allocations: 95.97 kB / 1.16 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005989/2.092, allocations: 128.8 kB / 1.16 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/2.092, allocations: 15.95 kB / 1.16 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007485/2.093, allocations: 0.6344 MB / 1.161 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.093, allocations: 0 / 1.161 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/2.094, allocations: 0.7568 MB / 1.162 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/2.095, allocations: 196.1 kB / 1.162 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/2.095, allocations: 15.95 kB / 1.162 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/2.096, allocations: 63.78 kB / 1.162 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/2.096, allocations: 31.95 kB / 1.162 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/2.096, allocations: 19.94 kB / 1.162 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00058/2.096, allocations: 403 kB / 1.163 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/2.096, allocations: 4 kB / 1.163 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001849/2.098, allocations: 411.5 kB / 1.163 GB, free: 118.9 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.0008459/2.099, allocations: 419.9 kB / 1.163 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001895/2.101, allocations: 0.9056 MB / 1.164 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.101, allocations: 0 / 1.164 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006592/2.102, allocations: 296.4 kB / 1.164 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/2.103, allocations: 259.8 kB / 1.165 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/2.105, allocations: 1.29 MB / 1.166 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/2.105, allocations: 0.9236 MB / 1.167 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006122/2.106, allocations: 153 kB / 1.167 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/2.106, allocations: 59.42 kB / 1.167 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.883e-06/2.106, allocations: 3.938 kB / 1.167 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.02425/2.13, allocations: 12.91 MB / 1.18 GB, free: 101.9 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)