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.001512/0.001512, allocations: 179.1 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.5009/0.5009, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.364/1.364, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 102.1 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.062e-05, allocations: 4 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4484, allocations: 72.31 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.741/1.189, allocations: 347.1 MB / 0.8992 GB, free: 2.773 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.19, allocations: 95.03 kB / 0.8993 GB, free: 2.723 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.8085/1.998, allocations: 240.7 MB / 1.134 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/1.998, allocations: 0 / 1.134 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.273e-05/1.998, allocations: 23.94 kB / 1.134 GB, free: 46.67 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.001905/2, allocations: 0.9617 MB / 1.135 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/2, allocations: 11.98 kB / 1.135 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/2.001, allocations: 82.97 kB / 1.135 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/2.002, allocations: 0.5151 MB / 1.136 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/2.002, allocations: 41 kB / 1.136 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/2.002, allocations: 48 kB / 1.136 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/2.002, allocations: 0.5729 MB / 1.137 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.002, allocations: 3.938 kB / 1.137 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/2.003, allocations: 20 kB / 1.137 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/2.003, allocations: 19.98 kB / 1.137 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/2.003, allocations: 394.8 kB / 1.137 GB, free: 43.86 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.003015/2.006, allocations: 3.208 MB / 1.14 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/2.007, allocations: 296.3 kB / 1.14 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/2.007, allocations: 180.8 kB / 1.141 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/2.007, allocations: 352.4 kB / 1.141 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/2.007, allocations: 34.56 kB / 1.141 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 3.827e-06/2.007, allocations: 96 / 1.141 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.0008317/2.008, allocations: 429.6 kB / 1.141 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/2.008, allocations: 55.41 kB / 1.141 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/2.009, allocations: 0.5111 MB / 1.142 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/2.009, allocations: 37.7 kB / 1.142 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/2.009, allocations: 320.5 kB / 1.142 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/2.009, allocations: 134.1 kB / 1.142 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/2.009, allocations: 12 kB / 1.142 GB, free: 38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/2.009, allocations: 366.8 kB / 1.143 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/2.009, allocations: 161.5 kB / 1.143 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/2.01, allocations: 353.6 kB / 1.143 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/2.01, allocations: 201.5 kB / 1.143 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.01, allocations: 3.938 kB / 1.143 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008767/2.011, allocations: 0.613 MB / 1.144 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003131/2.011, allocations: 1.744 MB / 1.146 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/2.011, allocations: 8 kB / 1.146 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/2.012, allocations: 144.7 kB / 1.146 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/2.012, allocations: 155.8 kB / 1.146 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005234/2.013, allocations: 0.6226 MB / 1.147 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/2.014, allocations: 107.3 kB / 1.147 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/2.014, allocations: 31.98 kB / 1.147 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/2.014, allocations: 4 kB / 1.147 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007581/2.015, allocations: 0.5101 MB / 1.147 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/2.015, allocations: 8 kB / 1.147 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/2.015, allocations: 8 kB / 1.147 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/2.015, allocations: 155.8 kB / 1.147 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/2.015, allocations: 16 kB / 1.147 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/2.016, allocations: 103.5 kB / 1.148 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/2.016, allocations: 35.97 kB / 1.148 GB, free: 32.42 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 () * 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.0001369/2.016, allocations: 140.8 kB / 1.148 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/2.016, allocations: 67.11 kB / 1.148 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009816/2.017, allocations: 0.5573 MB / 1.148 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/2.017, allocations: 4 kB / 1.148 GB, free: 31.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.017, allocations: 3.938 kB / 1.148 GB, free: 31.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/2.017, allocations: 4 kB / 1.148 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/2.019, allocations: 1.262 MB / 1.15 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/2.019, allocations: 4 kB / 1.15 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/2.019, allocations: 95.97 kB / 1.15 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/2.02, allocations: 120.8 kB / 1.15 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/2.02, allocations: 23.94 kB / 1.15 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004173/2.02, allocations: 0.6148 MB / 1.15 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.02, allocations: 0 / 1.15 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/2.021, allocations: 0.655 MB / 1.151 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/2.021, allocations: 200 kB / 1.151 GB, free: 28.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/2.021, allocations: 11.95 kB / 1.151 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/2.022, allocations: 63.88 kB / 1.151 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/2.022, allocations: 27.95 kB / 1.151 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/2.022, allocations: 16 kB / 1.151 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000369/2.022, allocations: 395.2 kB / 1.152 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/2.022, allocations: 0 / 1.152 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001302/2.024, allocations: 423.3 kB / 1.152 GB, free: 27.58 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 () * 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.000895/2.025, allocations: 434.8 kB / 1.153 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001359/2.026, allocations: 0.7724 MB / 1.153 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.026, allocations: 0 / 1.153 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004543/2.026, allocations: 248.1 kB / 1.154 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/2.028, allocations: 256.8 kB / 1.154 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/2.029, allocations: 0.7499 MB / 1.155 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/2.029, allocations: 0.9324 MB / 1.155 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007658/2.03, allocations: 169.1 kB / 1.156 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/2.03, allocations: 51.42 kB / 1.156 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/2.03, allocations: 0 / 1.156 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.0225/2.053, allocations: 14.15 MB / 1.169 GB, free: 9.91 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)