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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001818/0.001818, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.58/1.58, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 122.3 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.662e-05, allocations: 7.984 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09719, allocations: 44.51 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.36/15.46, allocations: 6.544 GB / 6.885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/15.46, allocations: 74.64 kB / 6.885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6228/16.08, allocations: 179.2 MB / 7.06 GB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/16.08, allocations: 0 / 7.06 GB, free: 10.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/16.08, allocations: 3.938 kB / 7.06 GB, free: 10.26 MB / 410.7 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.005546/16.09, allocations: 1.09 MB / 7.061 GB, free: 9.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/16.09, allocations: 8.031 kB / 7.061 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/16.09, allocations: 7.984 kB / 7.061 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/16.09, allocations: 190.9 kB / 7.061 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/16.09, allocations: 0 / 7.061 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/16.09, allocations: 4 kB / 7.061 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/16.09, allocations: 71.33 kB / 7.061 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/16.09, allocations: 4 kB / 7.061 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/16.09, allocations: 4 kB / 7.061 GB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/16.09, allocations: 3.953 kB / 7.061 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/16.09, allocations: 27.97 kB / 7.061 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/16.09, allocations: 182.6 kB / 7.061 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/16.09, allocations: 101.2 kB / 7.062 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/16.09, allocations: 29.86 kB / 7.062 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/16.09, allocations: 11.98 kB / 7.062 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/16.09, allocations: 34.5 kB / 7.062 GB, free: 8.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/16.09, allocations: 0 / 7.062 GB, free: 8.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001845/16.09, allocations: 77.75 kB / 7.062 GB, free: 8.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/16.09, allocations: 93 kB / 7.062 GB, free: 8.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/16.09, allocations: 117.2 kB / 7.062 GB, free: 8.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/16.09, allocations: 29.7 kB / 7.062 GB, free: 7.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/16.09, allocations: 84.14 kB / 7.062 GB, free: 7.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/16.09, allocations: 23.64 kB / 7.062 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/16.09, allocations: 4 kB / 7.062 GB, free: 7.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.787e-05/16.09, allocations: 314.8 kB / 7.062 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-05/16.09, allocations: 15.98 kB / 7.062 GB, free: 7.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/16.09, allocations: 33.7 kB / 7.062 GB, free: 7.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/16.09, allocations: 15.97 kB / 7.062 GB, free: 7.469 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/16.09, allocations: 0 / 7.062 GB, free: 7.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000115/16.09, allocations: 85.52 kB / 7.062 GB, free: 7.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/16.09, allocations: 7.984 kB / 7.062 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/16.09, allocations: 0 / 7.062 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/16.09, allocations: 384 / 7.062 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/16.09, allocations: 15.94 kB / 7.062 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/16.09, allocations: 0 / 7.062 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/16.09, allocations: 15.94 kB / 7.063 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/16.09, allocations: 3.938 kB / 7.063 GB, free: 7.336 MB / 410.7 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 () * 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 5.448e-05/16.09, allocations: 109 kB / 7.063 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/16.09, allocations: 11.84 kB / 7.063 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/16.09, allocations: 105.6 kB / 7.063 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/16.09, allocations: 4 kB / 7.063 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/16.09, allocations: 0 / 7.063 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/16.09, allocations: 3.938 kB / 7.063 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/16.09, allocations: 181.7 kB / 7.063 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/16.09, allocations: 8 kB / 7.063 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/16.09, allocations: 8 kB / 7.063 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/16.09, allocations: 0 / 7.063 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/16.09, allocations: 7.984 kB / 7.063 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/16.09, allocations: 0 / 7.063 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/16.09, allocations: 0 / 7.063 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/16.09, allocations: 127.5 kB / 7.063 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/16.09, allocations: 93.08 kB / 7.063 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/16.09, allocations: 4 kB / 7.063 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/16.09, allocations: 7.922 kB / 7.063 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/16.09, allocations: 8 kB / 7.063 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/16.09, allocations: 7.984 kB / 7.063 GB, free: 6.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.327e-05/16.09, allocations: 107.2 kB / 7.063 GB, free: 6.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/16.09, allocations: 0 / 7.063 GB, free: 6.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004697/16.1, allocations: 0.9794 MB / 7.064 GB, free: 5.465 MB / 410.7 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 () * 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.006122/16.1, allocations: 1.481 MB / 7.066 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/16.1, allocations: 43.92 kB / 7.066 GB, free: 3.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/16.1, allocations: 0 / 7.066 GB, free: 3.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/16.1, allocations: 24 kB / 7.066 GB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/16.1, allocations: 19.98 kB / 7.066 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/16.1, allocations: 101.6 kB / 7.066 GB, free: 3.766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/16.1, allocations: 0.6926 MB / 7.067 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.934e-05/16.1, allocations: 19.97 kB / 7.067 GB, free: 3.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/16.1, allocations: 15.44 kB / 7.067 GB, free: 3.012 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/16.1, allocations: 0 / 7.067 GB, free: 3.012 MB / 410.7 MB Notification: Performance of Templates: time 0.2651/16.37, allocations: 29.46 MB / 7.095 GB, free: 77.05 MB / 410.7 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)