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.001533/0.001533, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.674/1.674, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001747/0.001746, allocations: 118.8 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.646e-05, allocations: 4 kB / 298.1 MB, free: 8.262 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09526, allocations: 44.5 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.246, allocations: 437.3 MB / 0.7616 GB, free: 53.88 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/1.247, allocations: 67.97 kB / 0.7617 GB, free: 53.81 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05043/1.297, allocations: 24.36 MB / 0.7855 GB, free: 29.51 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.785e-06/1.297, allocations: 0.8438 kB / 0.7855 GB, free: 29.51 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/1.297, allocations: 4 kB / 0.7855 GB, free: 29.51 MB / 395.1 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.0009186/1.298, allocations: 430.8 kB / 0.7859 GB, free: 29.04 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.298, allocations: 8.031 kB / 0.7859 GB, free: 29.04 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/1.304, allocations: 459.8 kB / 0.7863 GB, free: 28.59 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/1.304, allocations: 163 kB / 0.7865 GB, free: 28.39 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/1.304, allocations: 4 kB / 0.7865 GB, free: 28.39 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.976e-05/1.304, allocations: 8 kB / 0.7865 GB, free: 28.38 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004682/1.305, allocations: 227.9 kB / 0.7867 GB, free: 28.16 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/1.305, allocations: 116.1 kB / 0.7868 GB, free: 28.04 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.305, allocations: 3.953 kB / 0.7868 GB, free: 28.04 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/1.305, allocations: 0 / 0.7868 GB, free: 28.04 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/1.305, allocations: 0 / 0.7868 GB, free: 28.04 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/1.306, allocations: 400.3 kB / 0.7872 GB, free: 27.61 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/1.307, allocations: 174.6 kB / 0.7874 GB, free: 27.43 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/1.307, allocations: 64.84 kB / 0.7874 GB, free: 27.37 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/1.307, allocations: 0 / 0.7874 GB, free: 27.37 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/1.307, allocations: 34.56 kB / 0.7875 GB, free: 27.32 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/1.307, allocations: 0 / 0.7875 GB, free: 27.32 MB / 395.1 MB Notification: Performance of matching and sorting (n=17): time 0.001118/1.308, allocations: 296.6 kB / 0.7878 GB, free: 27.03 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/1.308, allocations: 55.41 kB / 0.7878 GB, free: 26.96 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/1.308, allocations: 96.98 kB / 0.7879 GB, free: 26.86 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/1.308, allocations: 29.7 kB / 0.7879 GB, free: 26.83 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/1.308, allocations: 91.89 kB / 0.788 GB, free: 26.73 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/1.308, allocations: 55.2 kB / 0.7881 GB, free: 26.68 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/1.308, allocations: 0 / 0.7881 GB, free: 26.68 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 8.063e-05/1.308, allocations: 322.8 kB / 0.7884 GB, free: 26.36 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/1.308, allocations: 57.02 kB / 0.7884 GB, free: 26.3 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/1.309, allocations: 100.8 kB / 0.7885 GB, free: 26.18 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/1.309, allocations: 59.97 kB / 0.7886 GB, free: 26.12 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.309, allocations: 0 / 0.7886 GB, free: 26.12 MB / 395.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002922/1.309, allocations: 189.4 kB / 0.7888 GB, free: 25.93 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.309, allocations: 8.125 kB / 0.7888 GB, free: 25.93 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.309, allocations: 3.5 kB / 0.7888 GB, free: 25.93 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.309, allocations: 5.125 kB / 0.7888 GB, free: 25.92 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/1.309, allocations: 51.89 kB / 0.7888 GB, free: 25.87 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.31, allocations: 0 / 0.7888 GB, free: 25.87 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/1.31, allocations: 11.98 kB / 0.7888 GB, free: 25.86 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/1.31, allocations: 15.98 kB / 0.7889 GB, free: 25.84 MB / 395.1 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.0001095/1.31, allocations: 120.7 kB / 0.789 GB, free: 25.72 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/1.31, allocations: 7.906 kB / 0.789 GB, free: 25.71 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/1.31, allocations: 221.6 kB / 0.7892 GB, free: 25.49 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.31, allocations: 8 kB / 0.7892 GB, free: 25.48 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.31, allocations: 0 / 0.7892 GB, free: 25.48 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.31, allocations: 0 / 0.7892 GB, free: 25.48 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007732/1.311, allocations: 494.5 kB / 0.7897 GB, free: 24.95 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.311, allocations: 2.531 kB / 0.7897 GB, free: 24.95 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/1.312, allocations: 55.95 kB / 0.7897 GB, free: 24.9 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.312, allocations: 4 kB / 0.7897 GB, free: 24.89 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.312, allocations: 3.984 kB / 0.7897 GB, free: 24.89 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.312, allocations: 7.953 kB / 0.7897 GB, free: 24.88 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.312, allocations: 0 / 0.7897 GB, free: 24.88 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/1.312, allocations: 300.5 kB / 0.79 GB, free: 24.55 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/1.312, allocations: 92.95 kB / 0.7901 GB, free: 24.45 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/1.312, allocations: 4 kB / 0.7901 GB, free: 24.44 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/1.312, allocations: 11.98 kB / 0.7901 GB, free: 24.43 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/1.312, allocations: 15.98 kB / 0.7902 GB, free: 24.41 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/1.312, allocations: 8 kB / 0.7902 GB, free: 24.41 MB / 395.1 MB Notification: Performance of sorting global known variables: time 2.402e-05/1.312, allocations: 87.2 kB / 0.7902 GB, free: 24.32 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.312, allocations: 4 kB / 0.7902 GB, free: 24.32 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004307/1.313, allocations: 71.98 kB / 0.7903 GB, free: 24.25 MB / 395.1 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.0007862/1.314, allocations: 0.5836 MB / 0.7909 GB, free: 23.66 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/1.314, allocations: 147.9 kB / 0.791 GB, free: 23.51 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.314, allocations: 0 / 0.791 GB, free: 23.51 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/1.314, allocations: 79.92 kB / 0.7911 GB, free: 23.43 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/1.314, allocations: 31.92 kB / 0.7911 GB, free: 23.4 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/1.315, allocations: 164.9 kB / 0.7913 GB, free: 23.21 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/1.315, allocations: 0.6932 MB / 0.792 GB, free: 22.5 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0003932/1.315, allocations: 64.5 kB / 0.792 GB, free: 22.43 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/1.316, allocations: 39.34 kB / 0.7921 GB, free: 22.39 MB / 395.1 MB Notification: Performance of SimCode: time 2.6e-07/1.316, allocations: 0 / 0.7921 GB, free: 22.39 MB / 395.1 MB Notification: Performance of Templates: time 0.008109/1.324, allocations: 5.371 MB / 0.7973 GB, free: 17.04 MB / 395.1 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)