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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 205.1 MB / 222.4 MB, free: 4.43 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.001145/0.001145, allocations: 47.94 kB / 278.7 MB, free: 12.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2184, allocations: 46.63 MB / 325.3 MB, free: 2.055 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002745/0.2212, allocations: 1.373 MB / 326.7 MB, free: 0.957 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02909/0.2504, allocations: 23.66 MB / 350.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.2505, allocations: 0 / 350.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.2507, allocations: 11.86 kB / 350.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0159/0.2666, allocations: 5.624 MB / 356 MB, free: 5.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008087/0.2674, allocations: 350.7 kB / 356.3 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2675, allocations: 71.7 kB / 356.4 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.2676, allocations: 7.984 kB / 356.4 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.2677, allocations: 31.86 kB / 356.4 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.2678, allocations: 39.89 kB / 356.5 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2678, allocations: 4 kB / 356.5 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01821/0.286, allocations: 8.582 MB / 365.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.2862, allocations: 23.84 kB / 365.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.2863, allocations: 31.8 kB / 365.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.3017, allocations: 4.348 MB / 369.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.3018, allocations: 3.938 kB / 369.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3018, allocations: 4 kB / 369.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3018, allocations: 0 / 369.5 MB, free: 7.652 MB / 302.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.002874/0.3047, allocations: 0.8891 MB / 370.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3047, allocations: 12.03 kB / 370.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.3048, allocations: 8.844 kB / 370.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.305, allocations: 203.8 kB / 370.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.305, allocations: 3.938 kB / 370.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3051, allocations: 0 / 370.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3053, allocations: 75.39 kB / 370.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3053, allocations: 0 / 370.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3053, allocations: 7.938 kB / 370.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3053, allocations: 4 kB / 370.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3055, allocations: 31.97 kB / 370.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.3057, allocations: 190.5 kB / 370.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.306, allocations: 97.12 kB / 371 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.3061, allocations: 29.77 kB / 371 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.3062, allocations: 19.97 kB / 371 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3062, allocations: 30.56 kB / 371.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3062, allocations: 4 kB / 371.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003183/0.3065, allocations: 101.5 kB / 371.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3066, allocations: 77.11 kB / 371.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3068, allocations: 141.8 kB / 371.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3068, allocations: 25.7 kB / 371.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.3068, allocations: 84.14 kB / 371.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.3069, allocations: 19.73 kB / 371.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3069, allocations: 22.03 kB / 371.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3071, allocations: 330.8 kB / 371.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.3071, allocations: 12 kB / 371.9 MB, free: 5.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.3072, allocations: 29.7 kB / 371.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3073, allocations: 57.62 kB / 371.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3073, allocations: 0 / 371.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001901/0.3075, allocations: 85.92 kB / 372 MB, free: 4.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3076, allocations: 8 kB / 372 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3076, allocations: 0 / 372 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3076, allocations: 0 / 372 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.3077, allocations: 11.98 kB / 372 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3077, allocations: 4 kB / 372 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.3077, allocations: 4 kB / 372 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3078, allocations: 7.984 kB / 372.1 MB, free: 4.797 MB / 302.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.333e-05/0.3078, allocations: 113.7 kB / 372.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3079, allocations: 11.91 kB / 372.2 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.3081, allocations: 101.5 kB / 372.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3081, allocations: 3.938 kB / 372.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3081, allocations: 0 / 372.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3081, allocations: 0 / 372.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3083, allocations: 185.5 kB / 372.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3083, allocations: 0 / 372.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.3084, allocations: 12 kB / 372.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3084, allocations: 0 / 372.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3084, allocations: 4 kB / 372.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3084, allocations: 3.984 kB / 372.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3084, allocations: 4 kB / 372.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.3087, allocations: 117.9 kB / 372.6 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.3087, allocations: 89.03 kB / 372.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3088, allocations: 4 kB / 372.7 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.3088, allocations: 4 kB / 372.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.3089, allocations: 7.984 kB / 372.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.3089, allocations: 4 kB / 372.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.309, allocations: 107.3 kB / 372.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.309, allocations: 0 / 372.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002412/0.3114, allocations: 0.929 MB / 373.7 MB, free: 3.004 MB / 302.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.00442/0.3158, allocations: 1.348 MB / 375.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3161, allocations: 51.91 kB / 375.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3161, allocations: 0 / 375.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.3161, allocations: 23.98 kB / 375.2 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.3164, allocations: 20.05 kB / 375.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.3168, allocations: 192.3 kB / 375.4 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3171, allocations: 0.6885 MB / 376.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.3171, allocations: 19.77 kB / 376.1 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.3172, allocations: 15.44 kB / 376.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3172, allocations: 3.938 kB / 376.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of Templates: time 0.03754/0.3547, allocations: 28.57 MB / 404.7 MB, free: 3.965 MB / 334.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)