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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.00114, allocations: 92.53 kB / 16.3 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 187.4 kB / 17.2 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 8 kB / 280.1 MB, free: 3.773 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08518, allocations: 47.59 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2845/0.3697, allocations: 125.4 MB / 453.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.372, allocations: 2.117 MB / 455.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.372, allocations: 3.938 kB / 455.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.3721, allocations: 23.94 kB / 455.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007014/0.3728, allocations: 279.1 kB / 455.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.373, allocations: 47.86 kB / 455.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.3731, allocations: 51.91 kB / 455.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.3731, allocations: 4 kB / 455.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.3733, allocations: 51.83 kB / 455.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.3734, allocations: 23.92 kB / 455.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.3734, allocations: 3.938 kB / 455.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.3742, allocations: 379.6 kB / 456.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3742, allocations: 7.922 kB / 456.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.3742, allocations: 41.69 kB / 456.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3746, allocations: 204.5 kB / 456.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3746, allocations: 0 / 456.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3746, allocations: 0 / 456.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3746, allocations: 0 / 456.3 MB, free: 8.168 MB / 350.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.0008367/0.3755, allocations: 423.7 kB / 456.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3755, allocations: 12.03 kB / 456.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.3815, allocations: 447.8 kB / 457.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3817, allocations: 167.5 kB / 457.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3817, allocations: 15.95 kB / 457.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.3818, allocations: 11.98 kB / 457.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.3825, allocations: 293.2 kB / 457.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3826, allocations: 0 / 457.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.3826, allocations: 8 kB / 457.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3826, allocations: 0 / 457.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.3834, allocations: 275.8 kB / 457.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009544/0.3844, allocations: 433.2 kB / 458.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.3853, allocations: 202.4 kB / 458.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3854, allocations: 3.984 kB / 458.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3854, allocations: 42.55 kB / 458.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.3854, allocations: 0 / 458.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001617/0.387, allocations: 414 kB / 459 MB, free: 5.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.3871, allocations: 55.41 kB / 459.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.3871, allocations: 101.8 kB / 459.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3872, allocations: 29.7 kB / 459.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.3873, allocations: 99.89 kB / 459.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.3873, allocations: 59.11 kB / 459.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.3874, allocations: 4 kB / 459.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.3875, allocations: 318.8 kB / 459.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.3877, allocations: 80.25 kB / 459.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.388, allocations: 124.9 kB / 459.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.3883, allocations: 82.78 kB / 460 MB, free: 4.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3883, allocations: 4 kB / 460 MB, free: 4.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006097/0.3889, allocations: 237.4 kB / 460.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3889, allocations: 7.953 kB / 460.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3889, allocations: 4 kB / 460.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.389, allocations: 4.125 kB / 460.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3893, allocations: 47.95 kB / 460.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3893, allocations: 7.938 kB / 460.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3896, allocations: 11.98 kB / 460.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.3896, allocations: 15.98 kB / 460.3 MB, free: 3.98 MB / 350.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 () * Number of clocked 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.0001019/0.3897, allocations: 117.8 kB / 460.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3898, allocations: 7.906 kB / 460.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.3906, allocations: 288.9 kB / 460.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3906, allocations: 4 kB / 460.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3906, allocations: 0 / 460.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3906, allocations: 0 / 460.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3918, allocations: 0.5835 MB / 461.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3919, allocations: 0 / 461.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.3922, allocations: 47.89 kB / 461.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3922, allocations: 4 kB / 461.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.3922, allocations: 8 kB / 461.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3922, allocations: 4.062 kB / 461.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3923, allocations: 3.312 kB / 461.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.3929, allocations: 361.2 kB / 461.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.393, allocations: 81.09 kB / 461.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.393, allocations: 8 kB / 461.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3933, allocations: 11.98 kB / 461.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3933, allocations: 15.94 kB / 461.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.3934, allocations: 11.98 kB / 461.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.479e-05/0.3934, allocations: 83.28 kB / 461.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3934, allocations: 0 / 461.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.3938, allocations: 44 kB / 461.9 MB, free: 2.199 MB / 350.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 () * Number of clocked 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.000214/0.394, allocations: 120 kB / 462.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005992/0.3946, allocations: 199.6 kB / 462.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3946, allocations: 0 / 462.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.3949, allocations: 115.8 kB / 462.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3952, allocations: 31.91 kB / 462.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.396, allocations: 316.4 kB / 462.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3962, allocations: 0.6935 MB / 463.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.3967, allocations: 52.75 kB / 463.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3968, allocations: 31.42 kB / 463.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3968, allocations: 0 / 463.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of Templates: time 0.005465/0.4023, allocations: 2.852 MB / 466.3 MB, free: 13.75 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: