Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001545, allocations: 106.8 kB / 16.62 MB, free: 6.812 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.001703/0.001703, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.302/1.302, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00136/0.00136, allocations: 55.92 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.003161/0.1063, allocations: 1.43 MB / 327.6 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0289/0.1352, allocations: 23.8 MB / 351.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.1354, allocations: 0 / 351.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1356, allocations: 7.984 kB / 351.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.1512, allocations: 5.039 MB / 356.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.1521, allocations: 331 kB / 356.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1523, allocations: 71.7 kB / 356.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.1524, allocations: 11.94 kB / 356.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.1524, allocations: 31.84 kB / 356.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1526, allocations: 35.89 kB / 356.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1526, allocations: 4 kB / 356.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.1693, allocations: 8.699 MB / 365.6 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.1694, allocations: 19.91 kB / 365.6 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.1695, allocations: 31.86 kB / 365.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.1807, allocations: 4.425 MB / 370.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1807, allocations: 3.938 kB / 370.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1807, allocations: 4 kB / 370.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1807, allocations: 0 / 370.1 MB, free: 8.734 MB / 318.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.002346/0.1831, allocations: 0.8929 MB / 371 MB, free: 7.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1831, allocations: 11.97 kB / 371 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.1832, allocations: 4.938 kB / 371 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1834, allocations: 199.8 kB / 371.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1834, allocations: 4 kB / 371.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1834, allocations: 0 / 371.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1836, allocations: 79.38 kB / 371.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1836, allocations: 0 / 371.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1836, allocations: 7.922 kB / 371.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1837, allocations: 0 / 371.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1838, allocations: 31.98 kB / 371.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.184, allocations: 194.5 kB / 371.5 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.1843, allocations: 97.11 kB / 371.6 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.1844, allocations: 29.77 kB / 371.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.1845, allocations: 15.98 kB / 371.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1845, allocations: 38.56 kB / 371.7 MB, free: 6.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1845, allocations: 4 kB / 371.7 MB, free: 6.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003264/0.1849, allocations: 101.5 kB / 371.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.1849, allocations: 81.09 kB / 371.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1851, allocations: 137.8 kB / 372 MB, free: 6.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1851, allocations: 33.7 kB / 372 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.1852, allocations: 80.14 kB / 372.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1852, allocations: 15.81 kB / 372.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.1853, allocations: 29.55 kB / 372.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1854, allocations: 322.8 kB / 372.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.1854, allocations: 15.98 kB / 372.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.1855, allocations: 33.7 kB / 372.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1856, allocations: 41.7 kB / 372.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1856, allocations: 0 / 372.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001823/0.1858, allocations: 90.02 kB / 372.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1859, allocations: 4 kB / 372.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1859, allocations: 4 kB / 372.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1859, allocations: 0 / 372.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.186, allocations: 8 kB / 372.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.186, allocations: 0 / 372.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.186, allocations: 7.938 kB / 372.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1861, allocations: 11.97 kB / 372.7 MB, free: 5.879 MB / 318.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 9.617e-05/0.1862, allocations: 117.7 kB / 372.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1862, allocations: 15.89 kB / 372.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1865, allocations: 97.53 kB / 372.9 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1865, allocations: 7.938 kB / 372.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1865, allocations: 0 / 372.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1865, allocations: 0 / 372.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1866, allocations: 177.6 kB / 373.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1867, allocations: 0 / 373.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.1867, allocations: 11.98 kB / 373.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1867, allocations: 0 / 373.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1867, allocations: 8 kB / 373.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1868, allocations: 0 / 373.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1868, allocations: 0 / 373.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.187, allocations: 113.8 kB / 373.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.1871, allocations: 92.94 kB / 373.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1871, allocations: 192 / 373.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.1872, allocations: 19.98 kB / 373.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1872, allocations: 4 kB / 373.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.1872, allocations: 4 kB / 373.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.1873, allocations: 115.6 kB / 373.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1873, allocations: 0 / 373.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002482/0.1898, allocations: 0.9251 MB / 374.4 MB, free: 4.078 MB / 318.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.004327/0.1942, allocations: 1.346 MB / 375.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1944, allocations: 47.91 kB / 375.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1944, allocations: 0 / 375.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.1945, allocations: 27.98 kB / 375.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1947, allocations: 24.2 kB / 375.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.1952, allocations: 200.5 kB / 376 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.1954, allocations: 0.6807 MB / 376.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.1955, allocations: 19.77 kB / 376.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1955, allocations: 19.42 kB / 376.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1955, allocations: 0 / 376.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of Templates: time 0.1908/0.3863, allocations: 28.53 MB / 405.2 MB, free: 36.89 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)