Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.conf.json 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) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001491/0.001491, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.58/1.58, allocations: 194.3 MB / 208.4 MB, free: 6.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001694/0.001695, allocations: 108.7 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.342e-05, allocations: 4 kB / 304.9 MB, free: 29.81 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07761/0.07764, allocations: 44.51 MB / 349.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.132, allocations: 438 MB / 0.769 GB, free: 109.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.132, allocations: 63.97 kB / 0.7691 GB, free: 109.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04836/1.18, allocations: 24.84 MB / 0.7933 GB, free: 84.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.18, allocations: 0 / 0.7933 GB, free: 84.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/1.181, allocations: 4 kB / 0.7933 GB, free: 84.42 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006765/1.181, allocations: 442.7 kB / 0.7937 GB, free: 83.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.181, allocations: 8.031 kB / 0.7937 GB, free: 83.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/1.187, allocations: 447.8 kB / 0.7942 GB, free: 83.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/1.187, allocations: 167.1 kB / 0.7943 GB, free: 83.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.187, allocations: 8 kB / 0.7943 GB, free: 83.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/1.187, allocations: 11.94 kB / 0.7943 GB, free: 83.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/1.187, allocations: 265.3 kB / 0.7946 GB, free: 83.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.187, allocations: 0 / 0.7946 GB, free: 83.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/1.187, allocations: 7.953 kB / 0.7946 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.187, allocations: 4 kB / 0.7946 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/1.188, allocations: 231.9 kB / 0.7948 GB, free: 82.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/1.189, allocations: 421.4 kB / 0.7952 GB, free: 82.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/1.189, allocations: 202.4 kB / 0.7954 GB, free: 82.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/1.189, allocations: 56.86 kB / 0.7955 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/1.189, allocations: 3.984 kB / 0.7955 GB, free: 82.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/1.19, allocations: 38.8 kB / 0.7955 GB, free: 81.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/1.19, allocations: 0 / 0.7955 GB, free: 81.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001022/1.191, allocations: 309.3 kB / 0.7958 GB, free: 81.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/1.191, allocations: 59.36 kB / 0.7959 GB, free: 81.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.437e-05/1.191, allocations: 97 kB / 0.796 GB, free: 81.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/1.191, allocations: 25.7 kB / 0.796 GB, free: 81.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/1.191, allocations: 95.88 kB / 0.7961 GB, free: 81.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/1.191, allocations: 55.2 kB / 0.7961 GB, free: 81.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/1.191, allocations: 4 kB / 0.7961 GB, free: 81.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/1.191, allocations: 322.8 kB / 0.7964 GB, free: 81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/1.191, allocations: 60.38 kB / 0.7965 GB, free: 80.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/1.191, allocations: 105.7 kB / 0.7966 GB, free: 80.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/1.191, allocations: 67.31 kB / 0.7967 GB, free: 80.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.191, allocations: 0 / 0.7967 GB, free: 80.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003061/1.191, allocations: 209.4 kB / 0.7969 GB, free: 80.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.192, allocations: 4 kB / 0.7969 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.192, allocations: 0 / 0.7969 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.192, allocations: 4 kB / 0.7969 GB, free: 80.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/1.192, allocations: 51.95 kB / 0.7969 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.192, allocations: 0 / 0.7969 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/1.192, allocations: 15.94 kB / 0.7969 GB, free: 80.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.192, allocations: 15.98 kB / 0.797 GB, free: 80.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (21): * Single equations (assignments): 21 * 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 0.000101/1.192, allocations: 117 kB / 0.7971 GB, free: 80.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/1.192, allocations: 7.906 kB / 0.7971 GB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/1.193, allocations: 241.8 kB / 0.7973 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.193, allocations: 4 kB / 0.7973 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.193, allocations: 0 / 0.7973 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.193, allocations: 0 / 0.7973 GB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/1.194, allocations: 0.5398 MB / 0.7978 GB, free: 79.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.194, allocations: 0 / 0.7978 GB, free: 79.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/1.194, allocations: 51.92 kB / 0.7979 GB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.194, allocations: 0 / 0.7979 GB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/1.194, allocations: 7.984 kB / 0.7979 GB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.194, allocations: 0 / 0.7979 GB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.194, allocations: 4 kB / 0.7979 GB, free: 79.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/1.194, allocations: 316.5 kB / 0.7982 GB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/1.194, allocations: 81.02 kB / 0.7983 GB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/1.194, allocations: 4 kB / 0.7983 GB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/1.195, allocations: 15.98 kB / 0.7983 GB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/1.195, allocations: 19.86 kB / 0.7983 GB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/1.195, allocations: 15.98 kB / 0.7983 GB, free: 78.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.439e-05/1.195, allocations: 83.28 kB / 0.7984 GB, free: 78.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.195, allocations: 0 / 0.7984 GB, free: 78.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004358/1.195, allocations: 75.98 kB / 0.7985 GB, free: 78.77 MB / 410.7 MB 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 (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.000583/1.196, allocations: 0.5059 MB / 0.799 GB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/1.196, allocations: 165.5 kB / 0.7991 GB, free: 78.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/1.196, allocations: 0 / 0.7991 GB, free: 78.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.196, allocations: 80.48 kB / 0.7992 GB, free: 78.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/1.197, allocations: 44.28 kB / 0.7993 GB, free: 77.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/1.197, allocations: 164.4 kB / 0.7994 GB, free: 77.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/1.197, allocations: 0.709 MB / 0.8001 GB, free: 77.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003683/1.198, allocations: 48.53 kB / 0.8001 GB, free: 77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/1.198, allocations: 43.34 kB / 0.8002 GB, free: 76.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/1.198, allocations: 0 / 0.8002 GB, free: 76.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01171/1.209, allocations: 10.51 MB / 0.8105 GB, free: 66.44 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)