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.0008347/0.0008347, allocations: 86.56 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.0008124/0.0008125, 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.31/1.31, 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.0004239/0.0004239, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2132, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001097/0.2143, allocations: 1.06 MB / 327.5 MB, free: 0.543 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.2264, allocations: 11.13 MB / 338.7 MB, free: 7.285 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.2265, allocations: 0 / 338.7 MB, free: 7.285 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.2265, allocations: 0 / 338.7 MB, free: 7.285 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.2293, allocations: 0.8049 MB / 339.5 MB, free: 6.477 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2305, allocations: 481.7 kB / 339.9 MB, free: 6.004 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.634e-05/0.2306, allocations: 55.7 kB / 340 MB, free: 5.949 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.2307, allocations: 3.984 kB / 340 MB, free: 5.945 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.2307, allocations: 23.92 kB / 340 MB, free: 5.922 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.2308, allocations: 35.84 kB / 340 MB, free: 5.887 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.2308, allocations: 4 kB / 340.1 MB, free: 5.883 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.2335, allocations: 1.378 MB / 341.4 MB, free: 4.504 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.2336, allocations: 11.92 kB / 341.4 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.2336, allocations: 33.7 kB / 341.5 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009927/0.2346, allocations: 0.668 MB / 342.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2346, allocations: 0 / 342.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2346, allocations: 0 / 342.1 MB, free: 3.785 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2346, allocations: 3.938 kB / 342.1 MB, free: 3.781 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.0006443/0.2353, allocations: 0.5417 MB / 342.7 MB, free: 3.191 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2353, allocations: 8.031 kB / 342.7 MB, free: 3.184 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.2355, allocations: 11.91 kB / 342.7 MB, free: 3.172 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2356, allocations: 179 kB / 342.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2356, allocations: 0 / 342.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2357, allocations: 4 kB / 342.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.2358, allocations: 67.39 kB / 343 MB, free: 2.875 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2358, allocations: 0 / 343 MB, free: 2.875 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2358, allocations: 4 kB / 343 MB, free: 2.871 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2358, allocations: 4 kB / 343 MB, free: 2.867 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.236, allocations: 23.92 kB / 343 MB, free: 2.844 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.2361, allocations: 182.5 kB / 343.2 MB, free: 2.613 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2364, allocations: 81.19 kB / 343.2 MB, free: 2.516 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.2365, allocations: 25.72 kB / 343.3 MB, free: 2.484 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005912/0.2424, allocations: 3.293 MB / 346.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.2425, allocations: 38.56 kB / 346.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.2425, allocations: 0 / 346.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003278/0.2428, allocations: 81.52 kB / 346.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.2429, allocations: 77.11 kB / 346.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.243, allocations: 121.8 kB / 346.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.243, allocations: 29.64 kB / 346.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.2431, allocations: 92.12 kB / 347 MB, free: 14.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.2431, allocations: 19.66 kB / 347 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.2431, allocations: 4 kB / 347 MB, free: 14.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2432, allocations: 318.8 kB / 347.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.2433, allocations: 4 kB / 347.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.2433, allocations: 29.7 kB / 347.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.2434, allocations: 8 kB / 347.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.2434, allocations: 3.953 kB / 347.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001512/0.2436, allocations: 82.02 kB / 347.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2436, allocations: 4 kB / 347.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2436, allocations: 0 / 347.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2436, allocations: 0 / 347.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.2437, allocations: 15.98 kB / 347.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2437, allocations: 3.938 kB / 347.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.2438, allocations: 0 / 347.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2438, allocations: 4 kB / 347.5 MB, free: 13.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.2439, allocations: 113.8 kB / 347.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.2439, allocations: 15.86 kB / 347.6 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.2441, allocations: 101.5 kB / 347.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2442, allocations: 0 / 347.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2442, allocations: 3.938 kB / 347.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2442, allocations: 0 / 347.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2443, allocations: 177.5 kB / 347.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2443, allocations: 0 / 347.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.2444, allocations: 15.89 kB / 347.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2444, allocations: 0 / 347.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2444, allocations: 7.984 kB / 347.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2444, allocations: 0 / 347.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2444, allocations: 0 / 347.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.2446, allocations: 102.1 kB / 348 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.2447, allocations: 92.98 kB / 348.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2447, allocations: 7.953 kB / 348.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.2448, allocations: 0 / 348.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.2448, allocations: 11.98 kB / 348.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2449, allocations: 4 kB / 348.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.759e-05/0.2449, allocations: 99.14 kB / 348.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2449, allocations: 0 / 348.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007987/0.2457, allocations: 315.6 kB / 348.5 MB, free: 12.61 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 (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.00106/0.2468, allocations: 0.5651 MB / 349.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.247, allocations: 27.98 kB / 349.1 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.247, allocations: 4 kB / 349.1 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.2471, allocations: 23.92 kB / 349.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2473, allocations: 16.53 kB / 349.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.2477, allocations: 185.3 kB / 349.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.248, allocations: 0.6809 MB / 350 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.2481, allocations: 48.11 kB / 350.1 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.2481, allocations: 31.36 kB / 350.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2481, allocations: 3.938 kB / 350.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of Templates: time 0.01338/0.2615, allocations: 8.775 MB / 358.9 MB, free: 2.172 MB / 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)