Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.000944/0.0009441, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006831/0.006831, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.469/1.469, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.0004376/0.0004376, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2434, allocations: 47.58 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.373/0.6164, allocations: 146.3 MB / 473.3 MB, free: 15.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.6179, allocations: 1.541 MB / 474.8 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.6179, allocations: 3.438 kB / 474.8 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.6181, allocations: 22.81 kB / 474.9 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.6188, allocations: 272.3 kB / 475.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.6189, allocations: 52.72 kB / 475.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.6191, allocations: 74.86 kB / 475.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.6191, allocations: 3.375 kB / 475.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.6192, allocations: 35.17 kB / 475.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.6193, allocations: 27.19 kB / 475.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.6193, allocations: 3.344 kB / 475.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.6199, allocations: 368.4 kB / 475.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.6199, allocations: 9.219 kB / 475.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.62, allocations: 53.69 kB / 475.8 MB, free: 15.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.6204, allocations: 304.9 kB / 476 MB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.6204, allocations: 0 / 476 MB, free: 15.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6205, allocations: 0 / 476 MB, free: 15.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.6205, allocations: 0 / 476 MB, free: 15.32 MB / 398.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.0008574/0.6213, allocations: 424.8 kB / 476.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6214, allocations: 9.469 kB / 476.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.6275, allocations: 453.8 kB / 476.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.6276, allocations: 175.3 kB / 477.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.6277, allocations: 7.094 kB / 477.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.6278, allocations: 6.781 kB / 477.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007352/0.6285, allocations: 306.8 kB / 477.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6285, allocations: 0 / 477.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.6286, allocations: 3.938 kB / 477.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6286, allocations: 3.031 kB / 477.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.6294, allocations: 276.6 kB / 477.7 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.6303, allocations: 425 kB / 478.1 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/0.6313, allocations: 201 kB / 478.3 MB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.6315, allocations: 77.67 kB / 478.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.6315, allocations: 0 / 478.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.6316, allocations: 40.38 kB / 478.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.6316, allocations: 3.938 kB / 478.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001647/0.6332, allocations: 422.9 kB / 478.8 MB, free: 14.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.6333, allocations: 54.84 kB / 478.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.6334, allocations: 104.2 kB / 479 MB, free: 14.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.6334, allocations: 29.58 kB / 479 MB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.6334, allocations: 99.64 kB / 479.1 MB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6335, allocations: 57.67 kB / 479.2 MB, free: 13.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.6336, allocations: 28.67 kB / 479.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6337, allocations: 319.3 kB / 479.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.6339, allocations: 72.56 kB / 479.6 MB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.6342, allocations: 120.9 kB / 479.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.6347, allocations: 196.2 kB / 479.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6347, allocations: 0 / 479.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006289/0.6354, allocations: 245.3 kB / 480.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6354, allocations: 10.28 kB / 480.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6354, allocations: 0 / 480.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.6354, allocations: 3.125 kB / 480.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.6358, allocations: 53.38 kB / 480.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6358, allocations: 0 / 480.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.6361, allocations: 16.36 kB / 480.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.6361, allocations: 15.64 kB / 480.2 MB, free: 13.43 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.6362, allocations: 115.8 kB / 480.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.6362, allocations: 13.66 kB / 480.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.6371, allocations: 286.2 kB / 480.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6371, allocations: 0 / 480.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6371, allocations: 0 / 480.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6371, allocations: 4.234 kB / 480.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.6383, allocations: 0.5851 MB / 481.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.6383, allocations: 4 kB / 481.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.6386, allocations: 44.69 kB / 481.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.6386, allocations: 6.938 kB / 481.3 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.6387, allocations: 9.328 kB / 481.3 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6387, allocations: 0 / 481.3 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6387, allocations: 2.938 kB / 481.3 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.6393, allocations: 335.1 kB / 481.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.6394, allocations: 86.98 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.6394, allocations: 5.5 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.6397, allocations: 14.11 kB / 481.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.6397, allocations: 17.67 kB / 481.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.6398, allocations: 10.03 kB / 481.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.6398, allocations: 84.78 kB / 481.8 MB, free: 12.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6398, allocations: 0 / 481.8 MB, free: 12.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000324/0.6401, allocations: 44.88 kB / 481.9 MB, free: 12.55 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002188/0.6404, allocations: 131.3 kB / 482 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005869/0.641, allocations: 193.1 kB / 482.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.641, allocations: 2.734 kB / 482.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.6412, allocations: 101.7 kB / 482.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.6417, allocations: 34.67 kB / 482.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.6425, allocations: 331 kB / 482.6 MB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.6427, allocations: 0.6942 MB / 483.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.6431, allocations: 55.98 kB / 483.4 MB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.6433, allocations: 28.88 kB / 483.4 MB, free: 11.51 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6433, allocations: 0 / 483.4 MB, free: 11.51 MB / 398.1 MB Notification: Performance of Templates: time 0.005517/0.6488, allocations: 2.919 MB / 486.3 MB, free: 11.14 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)