Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.005058/0.005057, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001142/0.001142, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.001211/0.001211, allocations: 51.92 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.0917, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002572/0.09432, allocations: 1.365 MB / 374.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2243/0.3187, allocations: 23.67 MB / 398.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.3188, allocations: 0 / 398.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3189, allocations: 10.7 kB / 398.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0164/0.3353, allocations: 5.635 MB / 403.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.3362, allocations: 340.3 kB / 404.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3363, allocations: 75.33 kB / 404.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.3364, allocations: 7.891 kB / 404.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.3364, allocations: 35.2 kB / 404.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.3365, allocations: 33.98 kB / 404.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.3366, allocations: 3.312 kB / 404.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01965/0.3562, allocations: 8.752 MB / 413.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3563, allocations: 19.91 kB / 413.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.3564, allocations: 23.64 kB / 413.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.3683, allocations: 4.347 MB / 417.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3684, allocations: 0 / 417.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3684, allocations: 4 kB / 417.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3684, allocations: 0 / 417.5 MB, free: 3.309 MB / 334.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.002408/0.3708, allocations: 0.9013 MB / 418.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3709, allocations: 8.031 kB / 418.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.3709, allocations: 8.844 kB / 418.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.3711, allocations: 192.1 kB / 418.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3711, allocations: 0 / 418.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3711, allocations: 4 kB / 418.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3713, allocations: 79.31 kB / 418.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3713, allocations: 0 / 418.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3713, allocations: 0 / 418.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3713, allocations: 4 kB / 418.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3715, allocations: 35.97 kB / 418.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.3717, allocations: 186.5 kB / 418.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.372, allocations: 105.2 kB / 419 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.3721, allocations: 25.7 kB / 419 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.3721, allocations: 15.92 kB / 419 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3722, allocations: 42.55 kB / 419.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3722, allocations: 4 kB / 419.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003094/0.3725, allocations: 96.5 kB / 419.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3725, allocations: 81.11 kB / 419.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3727, allocations: 145.7 kB / 419.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3727, allocations: 25.7 kB / 419.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.3727, allocations: 88.14 kB / 419.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3728, allocations: 15.66 kB / 419.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.3728, allocations: 21.7 kB / 419.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.3729, allocations: 326.8 kB / 419.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.373, allocations: 15.98 kB / 419.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.373, allocations: 29.7 kB / 419.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3732, allocations: 53.69 kB / 419.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3732, allocations: 0 / 419.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001826/0.3734, allocations: 85.52 kB / 420 MB, free: 500 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3734, allocations: 4 kB / 420 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3734, allocations: 0.875 kB / 420 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3734, allocations: 0 / 420 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.3735, allocations: 12 kB / 420 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3735, allocations: 6.172 kB / 420.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.3736, allocations: 4 kB / 420.1 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3736, allocations: 4 kB / 420.1 MB, free: 472 kB / 334.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.488e-05/0.3737, allocations: 117.7 kB / 420.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3737, allocations: 11.91 kB / 420.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.3739, allocations: 99.45 kB / 420.3 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.374, allocations: 2.562 kB / 420.3 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.374, allocations: 0 / 420.3 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.374, allocations: 4 kB / 420.3 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.3741, allocations: 177.5 kB / 420.5 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.3741, allocations: 8.047 kB / 420.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.3742, allocations: 8 kB / 420.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3742, allocations: 0 / 420.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3742, allocations: 4 kB / 420.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3742, allocations: 4 kB / 420.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3742, allocations: 3.938 kB / 420.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3744, allocations: 121.7 kB / 420.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3745, allocations: 85.09 kB / 420.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3745, allocations: 0 / 420.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.3746, allocations: 16.36 kB / 420.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.3747, allocations: 4 kB / 420.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3747, allocations: 0 / 420.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.3748, allocations: 115.2 kB / 420.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3748, allocations: 0 / 420.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0026/0.3774, allocations: 0.9291 MB / 421.8 MB, free: 14.67 MB / 350.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.004396/0.3818, allocations: 1.34 MB / 423.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.382, allocations: 51.84 kB / 423.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3821, allocations: 0 / 423.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.3821, allocations: 28.27 kB / 423.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3824, allocations: 20.14 kB / 423.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.3829, allocations: 192.5 kB / 423.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3831, allocations: 0.693 MB / 424.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.3831, allocations: 15.92 kB / 424.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.3832, allocations: 19.44 kB / 424.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3832, allocations: 0 / 424.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.0398/0.423, allocations: 28.52 MB / 452.6 MB, free: 15.69 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)