Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001255/0.001255, allocations: 111 kB / 17.06 MB, free: 5.965 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.001162/0.001162, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.284/1.284, allocations: 205.1 MB / 223.9 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.001409/0.001409, allocations: 51.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.08058, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002427/0.08304, allocations: 1.373 MB / 375.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1966/0.2797, allocations: 23.67 MB / 399.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.2798, allocations: 0 / 399.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.28, allocations: 6.656 kB / 399.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01853/0.2985, allocations: 5.633 MB / 405.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.2994, allocations: 340.5 kB / 405.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2995, allocations: 83.38 kB / 405.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.2996, allocations: 2.75 kB / 405.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.2996, allocations: 36.34 kB / 405.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.2997, allocations: 33.64 kB / 405.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.2998, allocations: 4.125 kB / 405.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.3169, allocations: 8.746 MB / 414.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.317, allocations: 20.05 kB / 414.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.317, allocations: 27.94 kB / 414.4 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3285, allocations: 4.349 MB / 418.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3286, allocations: 0 / 418.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3286, allocations: 4 kB / 418.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.3286, allocations: 0 / 418.8 MB, free: 3.324 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.002193/0.3308, allocations: 0.8974 MB / 419.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3308, allocations: 8.031 kB / 419.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.3309, allocations: 8.844 kB / 419.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3311, allocations: 196.1 kB / 419.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3311, allocations: 4 kB / 419.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3311, allocations: 0 / 419.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3313, allocations: 75.39 kB / 420 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3313, allocations: 3.938 kB / 420 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3314, allocations: 0.875 kB / 420 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3314, allocations: 0 / 420 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3315, allocations: 35.97 kB / 420 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3317, allocations: 194.4 kB / 420.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.332, allocations: 97.12 kB / 420.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/0.3321, allocations: 29.77 kB / 420.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.3322, allocations: 20.77 kB / 420.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3322, allocations: 30.56 kB / 420.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3322, allocations: 4 kB / 420.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003141/0.3325, allocations: 100.3 kB / 420.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3326, allocations: 77.11 kB / 420.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3327, allocations: 141.8 kB / 420.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3327, allocations: 33.64 kB / 420.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.3328, allocations: 84.14 kB / 420.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.3328, allocations: 23.64 kB / 420.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3328, allocations: 21.72 kB / 420.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.333, allocations: 322.8 kB / 421.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.333, allocations: 12 kB / 421.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.3331, allocations: 40.27 kB / 421.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3332, allocations: 49.69 kB / 421.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3333, allocations: 0 / 421.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000182/0.3334, allocations: 85.52 kB / 421.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3335, allocations: 4 kB / 421.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3335, allocations: 4 kB / 421.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3335, allocations: 0 / 421.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.3336, allocations: 15.98 kB / 421.4 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.3336, allocations: 0 / 421.4 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.3336, allocations: 4 kB / 421.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3336, allocations: 0 / 421.4 MB, free: 492 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.651e-05/0.3337, allocations: 117.7 kB / 421.5 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.3338, allocations: 15.91 kB / 421.5 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.334, allocations: 99.2 kB / 421.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.334, allocations: 4 kB / 421.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.334, allocations: 0 / 421.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.334, allocations: 0 / 421.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3342, allocations: 185.6 kB / 421.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3342, allocations: 0 / 421.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.3342, allocations: 8 kB / 421.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.715e-05/0.3343, allocations: 4.047 kB / 421.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3343, allocations: 4.875 kB / 421.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3343, allocations: 3.938 kB / 421.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3343, allocations: 3.938 kB / 421.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.3345, allocations: 120.5 kB / 421.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.3346, allocations: 85.09 kB / 422 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3346, allocations: 8 kB / 422 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.3347, allocations: 4.375 kB / 422 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3347, allocations: 7.984 kB / 422 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3348, allocations: 4 kB / 422 MB, free: 15.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.8e-05/0.3348, allocations: 111.2 kB / 422.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3348, allocations: 0 / 422.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002494/0.3373, allocations: 0.9252 MB / 423.1 MB, free: 14.69 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.004021/0.3414, allocations: 1.338 MB / 424.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.3416, allocations: 56.91 kB / 424.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3416, allocations: 0 / 424.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.3417, allocations: 19.98 kB / 424.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3419, allocations: 23.25 kB / 424.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.3424, allocations: 197.4 kB / 424.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3427, allocations: 0.689 MB / 425.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.3427, allocations: 15.92 kB / 425.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.3428, allocations: 23.42 kB / 425.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3428, allocations: 0 / 425.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Templates: time 0.03768/0.3805, allocations: 28.53 MB / 454 MB, free: 15.7 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)