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.001003/0.001003, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009103/0.0009104, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004356/0.0004356, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 47.58 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001323/0.2075, allocations: 1.045 MB / 327.5 MB, free: 0.5898 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02483/0.2324, allocations: 20.54 MB / 348 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.2325, allocations: 0 / 348 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2326, allocations: 7.984 kB / 348 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.2434, allocations: 4.181 MB / 352.2 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.2439, allocations: 215.4 kB / 352.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.244, allocations: 47.92 kB / 352.5 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.2441, allocations: 3.984 kB / 352.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.2441, allocations: 31.91 kB / 352.5 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2442, allocations: 35.89 kB / 352.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.2442, allocations: 4 kB / 352.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.2582, allocations: 7.787 MB / 360.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.2583, allocations: 11.98 kB / 360.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.2584, allocations: 33.64 kB / 360.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006681/0.265, allocations: 2.776 MB / 363.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2651, allocations: 0 / 363.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2651, allocations: 0 / 363.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2651, allocations: 0 / 363.2 MB, free: 14.74 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.00235/0.2674, allocations: 0.8966 MB / 364.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2675, allocations: 8.031 kB / 364.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.2676, allocations: 7.906 kB / 364.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.2678, allocations: 191 kB / 364.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2678, allocations: 4 kB / 364.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2678, allocations: 8 kB / 364.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.268, allocations: 71.33 kB / 364.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.268, allocations: 4 kB / 364.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2681, allocations: 0 / 364.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2681, allocations: 3.938 kB / 364.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2682, allocations: 35.97 kB / 364.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.2684, allocations: 190.5 kB / 364.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.2688, allocations: 101.2 kB / 364.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.2688, allocations: 12.05 kB / 364.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2689, allocations: 30.56 kB / 364.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2689, allocations: 4 kB / 364.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002994/0.2692, allocations: 101.6 kB / 364.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2692, allocations: 85.09 kB / 364.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2694, allocations: 138 kB / 365 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2694, allocations: 29.7 kB / 365.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.2694, allocations: 88.12 kB / 365.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2695, allocations: 19.75 kB / 365.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.2695, allocations: 0 / 365.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2696, allocations: 326.8 kB / 365.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.2697, allocations: 15.98 kB / 365.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.2697, allocations: 29.7 kB / 365.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.948e-05/0.2698, allocations: 16 kB / 365.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2698, allocations: 0 / 365.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000162/0.27, allocations: 85.5 kB / 365.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.27, allocations: 12 kB / 365.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.27, allocations: 0 / 365.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.27, allocations: 0 / 365.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.2701, allocations: 8 kB / 365.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2701, allocations: 0 / 365.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.2702, allocations: 7.938 kB / 365.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.2702, allocations: 4 kB / 365.7 MB, free: 12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.526e-05/0.2703, allocations: 117.8 kB / 365.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.2703, allocations: 7.906 kB / 365.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.2705, allocations: 101.4 kB / 365.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2705, allocations: 4 kB / 365.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2705, allocations: 3.984 kB / 365.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2705, allocations: 384 / 365.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2707, allocations: 181.5 kB / 366.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2707, allocations: 0 / 366.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.2708, allocations: 15.92 kB / 366.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2708, allocations: 8.5 kB / 366.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2708, allocations: 0 / 366.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2708, allocations: 4 kB / 366.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2708, allocations: 0 / 366.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.271, allocations: 119.6 kB / 366.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.2711, allocations: 101 kB / 366.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2711, allocations: 4.188 kB / 366.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.2712, allocations: 8 kB / 366.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.2713, allocations: 11.98 kB / 366.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.2713, allocations: 7.938 kB / 366.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.114e-05/0.2713, allocations: 107.3 kB / 366.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2713, allocations: 0 / 366.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002646/0.274, allocations: 0.9174 MB / 367.4 MB, free: 10.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004145/0.2782, allocations: 1.235 MB / 368.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.2784, allocations: 47.97 kB / 368.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2785, allocations: 3.938 kB / 368.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.2785, allocations: 23.98 kB / 368.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.2788, allocations: 15.94 kB / 368.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.2793, allocations: 219.2 kB / 368.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2796, allocations: 0.6848 MB / 369.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.2796, allocations: 16.14 kB / 369.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.2797, allocations: 23.42 kB / 369.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2797, allocations: 0 / 369.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of Templates: time 0.03884/0.3185, allocations: 28.84 MB / 398.5 MB, free: 10.97 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: