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.0007831/0.0007831, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004714/0.004714, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.362/1.362, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004884/0.0004884, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 47.59 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001205/0.2188, allocations: 1.09 MB / 328.1 MB, free: 0.5039 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.03284/0.2516, allocations: 25.11 MB / 353.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.2517, allocations: 0 / 353.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.2519, allocations: 7.984 kB / 353.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01325/0.2651, allocations: 4.567 MB / 357.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.2659, allocations: 322.9 kB / 358.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.266, allocations: 95.61 kB / 358.2 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.2661, allocations: 4 kB / 358.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.2661, allocations: 35.84 kB / 358.3 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.2662, allocations: 39.89 kB / 358.3 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2663, allocations: 4 kB / 358.3 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.2811, allocations: 8.8 MB / 367.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.2812, allocations: 23.84 kB / 367.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.2812, allocations: 49.62 kB / 367.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.2926, allocations: 4.405 MB / 371.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2927, allocations: 0 / 371.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2927, allocations: 0 / 371.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2927, allocations: 0 / 371.6 MB, free: 6.703 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.002091/0.2948, allocations: 0.8968 MB / 372.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2948, allocations: 8.031 kB / 372.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.2949, allocations: 8.844 kB / 372.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2951, allocations: 199.9 kB / 372.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2951, allocations: 0 / 372.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2951, allocations: 4 kB / 372.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2953, allocations: 71.39 kB / 372.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2953, allocations: 0 / 372.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2953, allocations: 11.94 kB / 372.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2953, allocations: 3.938 kB / 372.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2954, allocations: 39.91 kB / 372.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.2956, allocations: 190.4 kB / 373 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.2959, allocations: 105.1 kB / 373.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.296, allocations: 21.78 kB / 373.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.2961, allocations: 15.98 kB / 373.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2961, allocations: 34.56 kB / 373.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2961, allocations: 0 / 373.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002909/0.2964, allocations: 97.92 kB / 373.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.2964, allocations: 81.11 kB / 373.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2966, allocations: 137.8 kB / 373.5 MB, free: 4.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2966, allocations: 25.7 kB / 373.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.2966, allocations: 92.12 kB / 373.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.2967, allocations: 15.66 kB / 373.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.2967, allocations: 17.72 kB / 373.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.2968, allocations: 318.8 kB / 373.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.2969, allocations: 27.92 kB / 374 MB, free: 4.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.297, allocations: 25.7 kB / 374 MB, free: 4.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2971, allocations: 53.73 kB / 374 MB, free: 3.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2971, allocations: 0 / 374 MB, free: 3.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001728/0.2973, allocations: 81.61 kB / 374.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2973, allocations: 4 kB / 374.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2973, allocations: 0 / 374.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2973, allocations: 8 kB / 374.1 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.2974, allocations: 11.98 kB / 374.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2974, allocations: 0 / 374.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.2974, allocations: 7.906 kB / 374.2 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2975, allocations: 0 / 374.2 MB, free: 3.859 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 7.516e-05/0.2975, allocations: 121.8 kB / 374.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.2976, allocations: 4 kB / 374.3 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.2978, allocations: 97.41 kB / 374.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2978, allocations: 4 kB / 374.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2978, allocations: 4.375 kB / 374.4 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2978, allocations: 0 / 374.4 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.298, allocations: 189.5 kB / 374.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.298, allocations: 3.938 kB / 374.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.298, allocations: 11.94 kB / 374.6 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.298, allocations: 3.984 kB / 374.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2981, allocations: 4 kB / 374.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2981, allocations: 0 / 374.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2981, allocations: 0 / 374.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2983, allocations: 114.1 kB / 374.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.2983, allocations: 100.9 kB / 374.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2984, allocations: 4 kB / 374.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.2984, allocations: 4 kB / 374.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.2985, allocations: 11.92 kB / 374.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2985, allocations: 4 kB / 374.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.505e-05/0.2986, allocations: 111.3 kB / 374.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2986, allocations: 0 / 374.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002374/0.301, allocations: 0.929 MB / 375.9 MB, free: 2.047 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.00397/0.3049, allocations: 1.329 MB / 377.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3052, allocations: 51.86 kB / 377.2 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3052, allocations: 4 kB / 377.2 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.3053, allocations: 23.98 kB / 377.3 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3055, allocations: 19.97 kB / 377.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.306, allocations: 213.3 kB / 377.5 MB, free: 384 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3062, allocations: 0.6848 MB / 378.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.3063, allocations: 11.77 kB / 378.2 MB, free: 15.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.3063, allocations: 15.44 kB / 378.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3063, allocations: 4 kB / 378.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of Templates: time 0.03869/0.345, allocations: 28.44 MB / 406.6 MB, free: 3.148 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)