Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001436/0.001436, allocations: 197.4 kB / 16.14 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.311/1.311, allocations: 205.1 MB / 222 MB, free: 4.727 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.001097/0.001097, allocations: 51.94 kB / 278 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1933, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002159/0.1955, allocations: 1.416 MB / 326.1 MB, free: 0.8047 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.2082, allocations: 12.38 MB / 338.5 MB, free: 6.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.2083, allocations: 0 / 338.5 MB, free: 6.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.2084, allocations: 7.984 kB / 338.5 MB, free: 6.312 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.2114, allocations: 0.8531 MB / 339.3 MB, free: 5.457 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2128, allocations: 0.5288 MB / 339.8 MB, free: 4.926 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.2129, allocations: 67.7 kB / 339.9 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.289e-05/0.2129, allocations: 4 kB / 339.9 MB, free: 4.855 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.213, allocations: 27.92 kB / 339.9 MB, free: 4.828 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.2131, allocations: 31.89 kB / 340 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2131, allocations: 4 kB / 340 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.2158, allocations: 1.561 MB / 341.5 MB, free: 3.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2158, allocations: 7.938 kB / 341.5 MB, free: 3.223 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.2159, allocations: 27.86 kB / 341.6 MB, free: 3.195 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.2176, allocations: 1.08 MB / 342.7 MB, free: 2.113 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2176, allocations: 4 kB / 342.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2176, allocations: 0 / 342.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.2177, allocations: 0 / 342.7 MB, free: 2.109 MB / 270.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.0006775/0.2183, allocations: 0.5341 MB / 343.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2184, allocations: 15.97 kB / 343.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.2185, allocations: 12.92 kB / 343.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.2187, allocations: 176.2 kB / 343.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2187, allocations: 4.375 kB / 343.4 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.2187, allocations: 8.359 kB / 343.4 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2189, allocations: 67.52 kB / 343.5 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2189, allocations: 0 / 343.5 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2189, allocations: 4 kB / 343.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2189, allocations: 0 / 343.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.2191, allocations: 23.92 kB / 343.5 MB, free: 1.172 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.2193, allocations: 178.5 kB / 343.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.2195, allocations: 89.11 kB / 343.8 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/0.2196, allocations: 25.77 kB / 343.8 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00637/0.226, allocations: 3.297 MB / 347.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.226, allocations: 46.48 kB / 347.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.2261, allocations: 0 / 347.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003/0.2264, allocations: 85.52 kB / 347.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.2264, allocations: 77.11 kB / 347.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.2265, allocations: 109.8 kB / 347.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2266, allocations: 29.7 kB / 347.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.2266, allocations: 88.12 kB / 347.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.2267, allocations: 11.81 kB / 347.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.2267, allocations: 21.72 kB / 347.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.2268, allocations: 318.8 kB / 347.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.2269, allocations: 12 kB / 347.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.2269, allocations: 21.7 kB / 347.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2271, allocations: 41.64 kB / 347.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2271, allocations: 3.938 kB / 347.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001671/0.2272, allocations: 77.92 kB / 348 MB, free: 12.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2273, allocations: 12 kB / 348 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2273, allocations: 0 / 348 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2273, allocations: 0 / 348 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.2274, allocations: 11.98 kB / 348 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2274, allocations: 4 kB / 348 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.2274, allocations: 3.938 kB / 348 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2274, allocations: 4.125 kB / 348 MB, free: 12.02 MB / 286.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.169e-05/0.2275, allocations: 109.8 kB / 348.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2276, allocations: 19.78 kB / 348.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.2278, allocations: 113.4 kB / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2278, allocations: 0 / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2278, allocations: 0 / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2278, allocations: 3.984 kB / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.228, allocations: 165.7 kB / 348.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.228, allocations: 4 kB / 348.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.228, allocations: 15.94 kB / 348.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2281, allocations: 0 / 348.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2281, allocations: 4 kB / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2281, allocations: 0 / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2281, allocations: 0 / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.2283, allocations: 101.8 kB / 348.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.2283, allocations: 93.03 kB / 348.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2284, allocations: 4 kB / 348.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.2284, allocations: 3.984 kB / 348.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.2285, allocations: 8 kB / 348.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2285, allocations: 7.984 kB / 348.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.2286, allocations: 87.59 kB / 348.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2286, allocations: 0 / 348.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007306/0.2293, allocations: 319.6 kB / 349.1 MB, free: 10.88 MB / 286.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.001075/0.2304, allocations: 0.5886 MB / 349.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2306, allocations: 35.92 kB / 349.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2306, allocations: 0 / 349.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.2307, allocations: 19.98 kB / 349.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.2309, allocations: 19.94 kB / 349.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.2312, allocations: 166 kB / 349.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2314, allocations: 0.6809 MB / 350.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.2316, allocations: 47.88 kB / 350.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.2316, allocations: 23.42 kB / 350.7 MB, free: 9.238 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2316, allocations: 4 kB / 350.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of Templates: time 0.01201/0.2436, allocations: 8.889 MB / 359.5 MB, free: 340 kB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)