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.0007899/0.0007929, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008477/0.0008477, allocations: 168.7 kB / 15.95 MB, free: 204 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.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004413/0.0004413, allocations: 14.64 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001119/0.2317, allocations: 1.072 MB / 327.5 MB, free: 0.5312 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02685/0.2586, allocations: 22.18 MB / 349.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.2587, allocations: 0 / 349.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.2588, allocations: 3.938 kB / 349.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.2715, allocations: 4.21 MB / 353.9 MB, free: 7.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.2723, allocations: 207.1 kB / 354.1 MB, free: 7.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2724, allocations: 83.62 kB / 354.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.2725, allocations: 0 / 354.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.2726, allocations: 39.89 kB / 354.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2727, allocations: 39.89 kB / 354.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2727, allocations: 4 kB / 354.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0162/0.2889, allocations: 7.658 MB / 362 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.2891, allocations: 11.98 kB / 362 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.2891, allocations: 33.64 kB / 362 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007468/0.2966, allocations: 2.776 MB / 364.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.2967, allocations: 0 / 364.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2967, allocations: 0 / 364.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2967, allocations: 0 / 364.8 MB, free: 13.11 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.002889/0.2996, allocations: 0.8927 MB / 365.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.2996, allocations: 12.02 kB / 365.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.2997, allocations: 7.906 kB / 365.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.2999, allocations: 198.9 kB / 365.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.2999, allocations: 0 / 365.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.2999, allocations: 4 kB / 365.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.3001, allocations: 75.31 kB / 366 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3002, allocations: 0 / 366 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3002, allocations: 4 kB / 366 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3002, allocations: 4 kB / 366 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3003, allocations: 27.98 kB / 366 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.3006, allocations: 190.5 kB / 366.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3009, allocations: 101.1 kB / 366.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.301, allocations: 29.77 kB / 366.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.3011, allocations: 11.98 kB / 366.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3011, allocations: 42.5 kB / 366.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3011, allocations: 0 / 366.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002954/0.3015, allocations: 97.56 kB / 366.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3015, allocations: 89.03 kB / 366.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3016, allocations: 138 kB / 366.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3017, allocations: 29.7 kB / 366.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.3017, allocations: 88.08 kB / 366.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.3017, allocations: 15.75 kB / 366.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.3018, allocations: 0 / 366.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3019, allocations: 322.8 kB / 367.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.3019, allocations: 15.98 kB / 367.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/0.302, allocations: 37.7 kB / 367.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.3021, allocations: 16 kB / 367.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3021, allocations: 0 / 367.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001752/0.3023, allocations: 85.5 kB / 367.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3023, allocations: 8 kB / 367.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3023, allocations: 0 / 367.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3023, allocations: 0 / 367.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.3024, allocations: 12 kB / 367.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.3024, allocations: 4.375 kB / 367.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.3024, allocations: 0 / 367.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3025, allocations: 7.984 kB / 367.3 MB, free: 10.32 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 9.275e-05/0.3026, allocations: 113.8 kB / 367.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.3026, allocations: 15.78 kB / 367.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.3028, allocations: 97.48 kB / 367.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3028, allocations: 4 kB / 367.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3029, allocations: 4 kB / 367.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3029, allocations: 3.938 kB / 367.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.303, allocations: 177.5 kB / 367.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.303, allocations: 0 / 367.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.3031, allocations: 11.98 kB / 367.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.3031, allocations: 4.562 kB / 367.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3031, allocations: 4 kB / 367.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3031, allocations: 0 / 367.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3031, allocations: 3.984 kB / 367.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3033, allocations: 110 kB / 367.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.3034, allocations: 104.9 kB / 368 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3034, allocations: 4 kB / 368 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.3035, allocations: 7.938 kB / 368 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.3035, allocations: 7.984 kB / 368 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3036, allocations: 4 kB / 368 MB, free: 9.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.691e-05/0.3036, allocations: 115.2 kB / 368.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3037, allocations: 3.938 kB / 368.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002707/0.3064, allocations: 0.9174 MB / 369 MB, free: 8.516 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.004515/0.3109, allocations: 1.225 MB / 370.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3111, allocations: 47.91 kB / 370.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3111, allocations: 0 / 370.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.3112, allocations: 27.98 kB / 370.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3115, allocations: 22.59 kB / 370.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.312, allocations: 211.2 kB / 370.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.3122, allocations: 0.6887 MB / 371.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.3123, allocations: 16.14 kB / 371.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.3123, allocations: 19.44 kB / 371.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3123, allocations: 0 / 371.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of Templates: time 0.04374/0.3561, allocations: 28.84 MB / 400.1 MB, free: 9.312 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)