Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007723/0.007723, allocations: 102.2 kB / 15.73 MB, free: 6.055 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.001836/0.001836, allocations: 194.3 kB / 16.68 MB, free: 5.965 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.33/1.33, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001246/0.001246, allocations: 51.94 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09357, allocations: 46.61 MB / 373.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002719/0.09635, allocations: 1.369 MB / 374.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2172/0.3135, allocations: 23.68 MB / 398.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.3137, allocations: 1.281 kB / 398.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.3138, allocations: 5.953 kB / 398.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01779/0.3316, allocations: 5.652 MB / 403.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.3325, allocations: 346 kB / 404.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.3326, allocations: 75.39 kB / 404.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.3327, allocations: 2.75 kB / 404.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.3327, allocations: 36.34 kB / 404.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.3328, allocations: 39.02 kB / 404.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3329, allocations: 2.75 kB / 404.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.3504, allocations: 8.745 MB / 413.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.3504, allocations: 19.34 kB / 413.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.3505, allocations: 31.83 kB / 413.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.3624, allocations: 4.348 MB / 417.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3625, allocations: 3.938 kB / 417.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3625, allocations: 0 / 417.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3625, allocations: 4 kB / 417.5 MB, free: 3.277 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.003283/0.3658, allocations: 0.8974 MB / 418.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3659, allocations: 8.031 kB / 418.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.3659, allocations: 8.844 kB / 418.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3662, allocations: 196.1 kB / 418.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3662, allocations: 0 / 418.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3662, allocations: 4 kB / 418.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3664, allocations: 71.39 kB / 418.7 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3664, allocations: 0 / 418.7 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3664, allocations: 3.938 kB / 418.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3664, allocations: 4 kB / 418.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3666, allocations: 35.97 kB / 418.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.3668, allocations: 190.4 kB / 418.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.3671, allocations: 97.19 kB / 419 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.3672, allocations: 29.7 kB / 419 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.3673, allocations: 11.98 kB / 419 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3673, allocations: 43.38 kB / 419.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3673, allocations: 0 / 419.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003095/0.3676, allocations: 101.5 kB / 419.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3677, allocations: 81.11 kB / 419.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3678, allocations: 137.8 kB / 419.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3679, allocations: 29.7 kB / 419.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.3679, allocations: 84.14 kB / 419.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.368, allocations: 23.64 kB / 419.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.368, allocations: 21.66 kB / 419.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3681, allocations: 330.8 kB / 419.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.3682, allocations: 12 kB / 419.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.3683, allocations: 29.7 kB / 419.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3684, allocations: 52.5 kB / 420 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3684, allocations: 0 / 420 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001899/0.3686, allocations: 85.52 kB / 420 MB, free: 480 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3687, allocations: 8 kB / 420.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3687, allocations: 0 / 420.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3687, allocations: 0 / 420.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.67e-05/0.3688, allocations: 15.98 kB / 420.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3688, allocations: 0 / 420.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.3688, allocations: 0 / 420.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3688, allocations: 8 kB / 420.1 MB, free: 448 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 8.6e-05/0.3689, allocations: 117.7 kB / 420.2 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.369, allocations: 4 kB / 420.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3692, allocations: 105.4 kB / 420.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3692, allocations: 3.938 kB / 420.3 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3692, allocations: 0 / 420.3 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3693, allocations: 4 kB / 420.3 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3694, allocations: 185.6 kB / 420.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3694, allocations: 4 kB / 420.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.3695, allocations: 8 kB / 420.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3695, allocations: 1.078 kB / 420.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3695, allocations: 3.984 kB / 420.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3695, allocations: 8 kB / 420.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3696, allocations: 0 / 420.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3698, allocations: 123.8 kB / 420.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.3698, allocations: 89.03 kB / 420.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3699, allocations: 384 / 420.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.37, allocations: 8 kB / 420.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.37, allocations: 11.98 kB / 420.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.37, allocations: 0 / 420.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.3701, allocations: 111.2 kB / 420.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3701, allocations: 0 / 420.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003284/0.3734, allocations: 0.9291 MB / 421.8 MB, free: 14.63 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.00597/0.3794, allocations: 1.34 MB / 423.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3797, allocations: 47.91 kB / 423.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3797, allocations: 0 / 423.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.3798, allocations: 27.98 kB / 423.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.38, allocations: 23.8 kB / 423.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.3806, allocations: 196.5 kB / 423.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3809, allocations: 0.689 MB / 424.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.381, allocations: 15.97 kB / 424.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.3811, allocations: 19.38 kB / 424.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3811, allocations: 4 kB / 424.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Templates: time 0.0399/0.421, allocations: 28.51 MB / 452.6 MB, free: 15.67 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)