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.0009188/0.0009189, allocations: 94.34 kB / 16.3 MB, free: 5.996 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.001266/0.001266, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.347/1.347, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.0004398/0.0004399, allocations: 8 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 47.59 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001112/0.2321, allocations: 1.049 MB / 328.7 MB, free: 0.5547 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02537/0.2575, allocations: 20.53 MB / 349.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.2576, allocations: 0 / 349.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2577, allocations: 7.922 kB / 349.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.2714, allocations: 4.185 MB / 353.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.272, allocations: 207.4 kB / 353.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.2721, allocations: 51.91 kB / 353.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.2722, allocations: 4 kB / 353.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.2722, allocations: 35.91 kB / 353.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.2724, allocations: 35.84 kB / 353.8 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2724, allocations: 4 kB / 353.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/0.2865, allocations: 7.787 MB / 361.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.2866, allocations: 15.97 kB / 361.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2867, allocations: 33.64 kB / 361.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.292, allocations: 2.764 MB / 364.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.292, allocations: 0 / 364.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.292, allocations: 0 / 364.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.292, allocations: 0 / 364.4 MB, free: 14.73 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.001992/0.294, allocations: 0.9005 MB / 365.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2941, allocations: 11.97 kB / 365.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.2941, allocations: 7.906 kB / 365.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.2943, allocations: 191 kB / 365.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2943, allocations: 0 / 365.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2943, allocations: 8 kB / 365.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2945, allocations: 71.31 kB / 365.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2945, allocations: 4 kB / 365.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2946, allocations: 0 / 365.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2946, allocations: 4 kB / 365.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.2947, allocations: 35.97 kB / 365.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.295, allocations: 194.5 kB / 365.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.2953, allocations: 97.22 kB / 365.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.2953, allocations: 16.14 kB / 365.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.2954, allocations: 34.56 kB / 366 MB, free: 12.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 5.921e-06/0.2954, allocations: 0 / 366 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002988/0.2957, allocations: 101.5 kB / 366.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2957, allocations: 85.05 kB / 366.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2959, allocations: 134 kB / 366.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2959, allocations: 25.7 kB / 366.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2959, allocations: 92.12 kB / 366.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.296, allocations: 15.75 kB / 366.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.296, allocations: 0 / 366.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2961, allocations: 326.8 kB / 366.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.2961, allocations: 12 kB / 366.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.2962, allocations: 33.7 kB / 366.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.2963, allocations: 19.98 kB / 366.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2963, allocations: 0 / 366.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001693/0.2965, allocations: 81.52 kB / 366.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2965, allocations: 4.375 kB / 366.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2965, allocations: 3.984 kB / 366.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2965, allocations: 4 kB / 366.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.2966, allocations: 8 kB / 366.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2966, allocations: 11.88 kB / 366.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.2967, allocations: 8 kB / 366.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2967, allocations: 0 / 366.9 MB, free: 11.98 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.103e-05/0.2968, allocations: 117.8 kB / 367 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.2968, allocations: 7.906 kB / 367 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.297, allocations: 101.9 kB / 367.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.297, allocations: 0 / 367.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2971, allocations: 4 kB / 367.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2971, allocations: 7.984 kB / 367.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2972, allocations: 181.5 kB / 367.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2972, allocations: 3.938 kB / 367.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.2973, allocations: 11.98 kB / 367.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2973, allocations: 0 / 367.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2973, allocations: 4 kB / 367.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2973, allocations: 0 / 367.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2973, allocations: 0 / 367.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.2975, allocations: 123.6 kB / 367.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.2976, allocations: 96.98 kB / 367.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2976, allocations: 0 / 367.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2977, allocations: 4 kB / 367.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.2977, allocations: 15.92 kB / 367.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2977, allocations: 192 / 367.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.2978, allocations: 111.3 kB / 367.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2978, allocations: 4 kB / 367.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002237/0.3001, allocations: 0.9135 MB / 368.6 MB, free: 10.17 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.003442/0.3035, allocations: 1.231 MB / 369.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3037, allocations: 47.89 kB / 369.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3038, allocations: 4 kB / 369.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.513e-05/0.3038, allocations: 23.98 kB / 369.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.3041, allocations: 23.94 kB / 369.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3045, allocations: 207.2 kB / 370.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3048, allocations: 0.6926 MB / 370.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.3049, allocations: 15.77 kB / 370.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3049, allocations: 15.44 kB / 370.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.305, allocations: 0 / 370.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of Templates: time 0.03838/0.3433, allocations: 28.85 MB / 399.7 MB, free: 10.96 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: