Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001241/0.001241, allocations: 192 kB / 16.25 MB, free: 6.629 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.304/1.304, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001164/0.001164, allocations: 55.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1806, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002196/0.1828, allocations: 1.415 MB / 326.3 MB, free: 0.8086 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.1954, allocations: 12.03 MB / 338.3 MB, free: 6.613 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.1955, allocations: 0 / 338.3 MB, free: 6.613 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.1955, allocations: 0 / 338.3 MB, free: 6.613 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.1986, allocations: 0.9078 MB / 339.2 MB, free: 5.703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.2001, allocations: 0.56 MB / 339.8 MB, free: 5.141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.2002, allocations: 59.72 kB / 339.8 MB, free: 5.082 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.2002, allocations: 4 kB / 339.8 MB, free: 5.078 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.2003, allocations: 31.91 kB / 339.9 MB, free: 5.047 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.2004, allocations: 35.89 kB / 339.9 MB, free: 5.012 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2004, allocations: 4 kB / 339.9 MB, free: 5.008 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.2035, allocations: 1.588 MB / 341.5 MB, free: 3.418 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.2035, allocations: 11.92 kB / 341.5 MB, free: 3.406 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.2036, allocations: 27.91 kB / 341.5 MB, free: 3.379 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.2059, allocations: 1.076 MB / 342.6 MB, free: 2.301 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2059, allocations: 0 / 342.6 MB, free: 2.301 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2059, allocations: 4 kB / 342.6 MB, free: 2.297 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.2059, allocations: 4 kB / 342.6 MB, free: 2.293 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007511/0.2067, allocations: 0.538 MB / 343.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2067, allocations: 12.03 kB / 343.2 MB, free: 1.695 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2068, allocations: 8.875 kB / 343.2 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.207, allocations: 180.2 kB / 343.3 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.207, allocations: 4.375 kB / 343.3 MB, free: 1.469 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2071, allocations: 4.312 kB / 343.3 MB, free: 1.465 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2072, allocations: 75.52 kB / 343.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2072, allocations: 0 / 343.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2073, allocations: 0 / 343.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2073, allocations: 0 / 343.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2074, allocations: 23.97 kB / 343.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.2076, allocations: 182.5 kB / 343.6 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.2079, allocations: 73.25 kB / 343.7 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.208, allocations: 25.72 kB / 343.7 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006405/0.2144, allocations: 3.305 MB / 347 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.2145, allocations: 42.44 kB / 347.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2145, allocations: 0 / 347.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003145/0.2148, allocations: 85.5 kB / 347.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2149, allocations: 85.05 kB / 347.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.2149, allocations: 113.8 kB / 347.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.215, allocations: 25.7 kB / 347.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.215, allocations: 88.14 kB / 347.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.215, allocations: 11.8 kB / 347.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.2151, allocations: 21.72 kB / 347.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.2152, allocations: 318.8 kB / 347.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.2153, allocations: 12 kB / 347.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.2153, allocations: 25.7 kB / 347.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.2154, allocations: 41.64 kB / 347.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2155, allocations: 0 / 347.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001617/0.2156, allocations: 73.45 kB / 347.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2156, allocations: 4 kB / 347.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2157, allocations: 4 kB / 348 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2157, allocations: 4 kB / 348 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.2157, allocations: 15.92 kB / 348 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2158, allocations: 0 / 348 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.2158, allocations: 11.94 kB / 348 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2158, allocations: 320 / 348 MB, free: 12.2 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 7.251e-05/0.2159, allocations: 109.8 kB / 348.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2159, allocations: 11.84 kB / 348.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.2162, allocations: 110 kB / 348.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2162, allocations: 4 kB / 348.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2162, allocations: 128 / 348.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2162, allocations: 7.938 kB / 348.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2164, allocations: 169.6 kB / 348.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2164, allocations: 4 kB / 348.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.2165, allocations: 15.92 kB / 348.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2165, allocations: 4 kB / 348.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2165, allocations: 0 / 348.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2165, allocations: 4 kB / 348.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2165, allocations: 0 / 348.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.2167, allocations: 97.88 kB / 348.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.2168, allocations: 89.03 kB / 348.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.2168, allocations: 8 kB / 348.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.2169, allocations: 7.938 kB / 348.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.2169, allocations: 7.984 kB / 348.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2169, allocations: 4 kB / 348.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.217, allocations: 91.27 kB / 348.7 MB, free: 11.37 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.217, allocations: 0 / 348.7 MB, free: 11.37 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009036/0.2179, allocations: 327.6 kB / 349 MB, free: 11.05 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.00128/0.2192, allocations: 0.5806 MB / 349.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.2194, allocations: 47.84 kB / 349.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2194, allocations: 0 / 349.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.2195, allocations: 19.98 kB / 349.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.2197, allocations: 7.938 kB / 349.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.2201, allocations: 179.9 kB / 349.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2204, allocations: 0.6807 MB / 350.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.2205, allocations: 52.09 kB / 350.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.2205, allocations: 15.44 kB / 350.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2205, allocations: 0 / 350.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of Templates: time 0.01246/0.233, allocations: 8.924 MB / 359.5 MB, free: 480 kB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)