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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001109, allocations: 195.4 kB / 16.14 MB, free: 6.707 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.315/1.315, allocations: 205.1 MB / 222 MB, free: 4.75 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.001149/0.001149, allocations: 55.91 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.207, allocations: 46.61 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002133/0.2091, allocations: 1.433 MB / 326.1 MB, free: 0.7969 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02829/0.2374, allocations: 25.51 MB / 351.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.2375, allocations: 0 / 351.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2377, allocations: 7.938 kB / 351.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.2503, allocations: 4.574 MB / 356.2 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.251, allocations: 322.9 kB / 356.5 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.2512, allocations: 95.66 kB / 356.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.2512, allocations: 4 kB / 356.6 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.2513, allocations: 27.92 kB / 356.6 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.2514, allocations: 43.83 kB / 356.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2514, allocations: 4 kB / 356.7 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.266, allocations: 8.812 MB / 365.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.2661, allocations: 15.98 kB / 365.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.2662, allocations: 35.78 kB / 365.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.2768, allocations: 4.41 MB / 369.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2768, allocations: 0 / 369.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2769, allocations: 0 / 369.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.2769, allocations: 0 / 369.9 MB, free: 6.773 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.001986/0.2789, allocations: 0.9047 MB / 370.9 MB, free: 5.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2789, allocations: 8.031 kB / 370.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.279, allocations: 8.844 kB / 370.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2792, allocations: 203.7 kB / 371.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2792, allocations: 4 kB / 371.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2792, allocations: 8 kB / 371.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2794, allocations: 63.39 kB / 371.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2794, allocations: 0 / 371.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2794, allocations: 4 kB / 371.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2794, allocations: 0 / 371.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.2796, allocations: 39.91 kB / 371.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.2798, allocations: 190.5 kB / 371.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.2801, allocations: 101.2 kB / 371.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.2802, allocations: 29.7 kB / 371.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.91e-05/0.2803, allocations: 19.97 kB / 371.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.2803, allocations: 34.56 kB / 371.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2803, allocations: 0 / 371.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003192/0.2806, allocations: 97.5 kB / 371.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.2807, allocations: 85.11 kB / 371.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2808, allocations: 133.8 kB / 371.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2808, allocations: 25.7 kB / 371.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.2809, allocations: 92.52 kB / 372 MB, free: 4.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.2809, allocations: 19.73 kB / 372 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.2809, allocations: 17.72 kB / 372 MB, free: 4.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.281, allocations: 322.8 kB / 372.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.2811, allocations: 23.92 kB / 372.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.2812, allocations: 21.84 kB / 372.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.2813, allocations: 66 kB / 372.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2813, allocations: 0 / 372.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001802/0.2815, allocations: 89.5 kB / 372.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2815, allocations: 4 kB / 372.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2815, allocations: 0 / 372.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2815, allocations: 3.938 kB / 372.5 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.2816, allocations: 15.98 kB / 372.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2816, allocations: 0 / 372.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.2817, allocations: 4 kB / 372.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2817, allocations: 4 kB / 372.6 MB, free: 3.902 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.042e-05/0.2818, allocations: 117.8 kB / 372.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.2818, allocations: 11.89 kB / 372.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.2821, allocations: 93.5 kB / 372.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2821, allocations: 0 / 372.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2821, allocations: 0 / 372.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2821, allocations: 4 kB / 372.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.2822, allocations: 177.6 kB / 372.9 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2823, allocations: 4 kB / 373 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.2823, allocations: 15.94 kB / 373 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2823, allocations: 0 / 373 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2824, allocations: 3.984 kB / 373 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2824, allocations: 4 kB / 373 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2824, allocations: 0 / 373 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.2826, allocations: 117.8 kB / 373.1 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.2827, allocations: 89.03 kB / 373.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2827, allocations: 0 / 373.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.2828, allocations: 4 kB / 373.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.2828, allocations: 7.984 kB / 373.2 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2828, allocations: 4 kB / 373.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.234e-05/0.2829, allocations: 111.2 kB / 373.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2829, allocations: 0 / 373.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002274/0.2852, allocations: 0.9293 MB / 374.2 MB, free: 2.117 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.00428/0.2895, allocations: 1.36 MB / 375.6 MB, free: 0.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.2898, allocations: 43.97 kB / 375.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2898, allocations: 0 / 375.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.2899, allocations: 23.92 kB / 375.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2901, allocations: 16 kB / 375.7 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.2907, allocations: 198.2 kB / 375.9 MB, free: 456 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.291, allocations: 0.6926 MB / 376.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.781e-05/0.291, allocations: 19.7 kB / 376.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.2911, allocations: 11.44 kB / 376.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2911, allocations: 0 / 376.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03597/0.3271, allocations: 28.46 MB / 405.1 MB, free: 3.188 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)