Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2971/0.2971, allocations: 54.4 MB / 61.89 MB, free: 13.72 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001069/0.001069, allocations: 183.5 kB / 75.61 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.393/1.393, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00163/0.00163, allocations: 102.9 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.738e-05, allocations: 4 kB / 405.5 MB, free: 4.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3552, allocations: 57.64 MB / 463.2 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6274/0.9827, allocations: 335.1 MB / 0.7796 GB, free: 6.168 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/0.9831, allocations: 93.64 kB / 0.7797 GB, free: 6.121 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7459/1.729, allocations: 216.5 MB / 0.9911 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/1.729, allocations: 0 / 0.9911 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.27e-05/1.729, allocations: 20 kB / 0.9911 GB, free: 35.39 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002156/1.731, allocations: 0.8563 MB / 0.9919 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.731, allocations: 12.03 kB / 0.9919 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/1.734, allocations: 346.9 kB / 0.9923 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/1.735, allocations: 0.4929 MB / 0.9928 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/1.736, allocations: 12 kB / 0.9928 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.736, allocations: 27.95 kB / 0.9928 GB, free: 33.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009842/1.737, allocations: 353.5 kB / 0.9931 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/1.738, allocations: 478.9 kB / 0.9936 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.738, allocations: 7.922 kB / 0.9936 GB, free: 32.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/1.738, allocations: 0 / 0.9936 GB, free: 32.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/1.738, allocations: 16 kB / 0.9936 GB, free: 32.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004605/1.742, allocations: 2.704 MB / 0.9963 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/1.743, allocations: 239.9 kB / 0.9965 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/1.743, allocations: 146.6 kB / 0.9966 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/1.744, allocations: 109.1 kB / 0.9967 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.744, allocations: 42.97 kB / 0.9968 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 2.185e-06/1.744, allocations: 4 kB / 0.9968 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.007633/1.752, allocations: 1.207 MB / 0.9979 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/1.752, allocations: 166.3 kB / 0.9981 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/1.752, allocations: 382.2 kB / 0.9985 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.752, allocations: 25.7 kB / 0.9985 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/1.753, allocations: 315.7 kB / 0.9988 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.753, allocations: 70.95 kB / 0.9989 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/1.753, allocations: 0 / 0.9989 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.753, allocations: 358.8 kB / 0.9992 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/1.754, allocations: 216 kB / 0.9994 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/1.754, allocations: 342.5 kB / 0.9997 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/1.755, allocations: 203.9 kB / 0.9999 GB, free: 25.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.755, allocations: 0 / 0.9999 GB, free: 25.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001572/1.756, allocations: 0.5787 MB / 1.001 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/1.757, allocations: 1.047 MB / 1.002 GB, free: 24.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.757, allocations: 4 kB / 1.002 GB, free: 24.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.757, allocations: 4 kB / 1.002 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02046/1.777, allocations: 2.731 MB / 1.004 GB, free: 21.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/1.78, allocations: 1.191 MB / 1.005 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.782, allocations: 311.4 kB / 1.006 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/1.782, allocations: 31.97 kB / 1.006 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/1.782, allocations: 0 / 1.006 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003937/1.782, allocations: 247.6 kB / 1.006 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/1.782, allocations: 4 kB / 1.006 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/1.782, allocations: 4 kB / 1.006 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/1.783, allocations: 120.2 kB / 1.006 GB, free: 19.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/1.783, allocations: 4 kB / 1.006 GB, free: 19.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/1.783, allocations: 75.77 kB / 1.006 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/1.783, allocations: 16.06 kB / 1.006 GB, free: 19.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/1.784, allocations: 128.7 kB / 1.006 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/1.784, allocations: 55.34 kB / 1.006 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/1.784, allocations: 52.16 kB / 1.006 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.784, allocations: 4 kB / 1.006 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.784, allocations: 0 / 1.006 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.784, allocations: 0 / 1.006 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/1.785, allocations: 0.8224 MB / 1.007 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.785, allocations: 0 / 1.007 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01329/1.798, allocations: 2.474 MB / 1.01 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.798, allocations: 4 kB / 1.01 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/1.798, allocations: 15.97 kB / 1.01 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.809, allocations: 3.319 MB / 1.013 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.809, allocations: 3.984 kB / 1.013 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/1.81, allocations: 0.5506 MB / 1.013 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/1.81, allocations: 136.4 kB / 1.014 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.954e-05/1.81, allocations: 7.984 kB / 1.014 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.812, allocations: 291.6 kB / 1.014 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/1.812, allocations: 15.97 kB / 1.014 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/1.812, allocations: 19.97 kB / 1.014 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002613/1.812, allocations: 283 kB / 1.014 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.812, allocations: 0 / 1.014 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001017/1.813, allocations: 323.4 kB / 1.014 GB, free: 10.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004991/1.814, allocations: 296 kB / 1.015 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.828, allocations: 2.946 MB / 1.018 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.828, allocations: 4 kB / 1.018 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/1.84, allocations: 2.334 MB / 1.02 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.841, allocations: 233.6 kB / 1.02 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.86, allocations: 4.075 MB / 1.024 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.238/2.098, allocations: 0.8887 MB / 1.025 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001845/2.1, allocations: 141 kB / 1.025 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/2.1, allocations: 51.31 kB / 1.025 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.204e-06/2.1, allocations: 1.062 kB / 1.025 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.03508/2.135, allocations: 13.65 MB / 1.038 GB, free: 114 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)