Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001119/0.001119, allocations: 195.5 kB / 16.14 MB, free: 6.734 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.338/1.338, allocations: 205.1 MB / 222 MB, free: 4.762 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.001164/0.001164, allocations: 47.88 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1883, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002096/0.1904, allocations: 1.415 MB / 326.1 MB, free: 0.793 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.2033, allocations: 12.36 MB / 338.4 MB, free: 6.324 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.2034, allocations: 4 kB / 338.5 MB, free: 6.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.2034, allocations: 7.984 kB / 338.5 MB, free: 6.312 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.2063, allocations: 0.8531 MB / 339.3 MB, free: 5.457 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.2078, allocations: 0.5327 MB / 339.8 MB, free: 4.922 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.152e-05/0.2079, allocations: 63.72 kB / 339.9 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.2079, allocations: 8 kB / 339.9 MB, free: 4.852 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.208, allocations: 31.91 kB / 339.9 MB, free: 4.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.2081, allocations: 35.84 kB / 340 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2081, allocations: 7.984 kB / 340 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.2109, allocations: 1.557 MB / 341.5 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.2109, allocations: 11.97 kB / 341.6 MB, free: 3.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.211, allocations: 27.86 kB / 341.6 MB, free: 3.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.213, allocations: 1.068 MB / 342.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.213, allocations: 0 / 342.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.2131, allocations: 4 kB / 342.7 MB, free: 2.105 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.2131, allocations: 0 / 342.7 MB, free: 2.105 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.0007475/0.2138, allocations: 0.5418 MB / 343.2 MB, free: 1.516 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2139, allocations: 15.97 kB / 343.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.214, allocations: 4.938 kB / 343.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2141, allocations: 180.3 kB / 343.4 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2142, allocations: 4.375 kB / 343.4 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2142, allocations: 4.375 kB / 343.4 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2143, allocations: 71.52 kB / 343.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2144, allocations: 0 / 343.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2144, allocations: 0 / 343.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2144, allocations: 0 / 343.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.2145, allocations: 31.91 kB / 343.5 MB, free: 1.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.2147, allocations: 178.5 kB / 343.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.215, allocations: 81.19 kB / 343.8 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.2151, allocations: 25.7 kB / 343.8 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006811/0.2219, allocations: 3.297 MB / 347.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2219, allocations: 38.5 kB / 347.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.222, allocations: 0 / 347.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003254/0.2223, allocations: 89.5 kB / 347.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2223, allocations: 77.11 kB / 347.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.2224, allocations: 113.8 kB / 347.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2225, allocations: 29.64 kB / 347.4 MB, free: 12.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.2225, allocations: 88.14 kB / 347.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.2225, allocations: 19.78 kB / 347.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.2226, allocations: 17.72 kB / 347.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.2227, allocations: 322.8 kB / 347.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.2228, allocations: 11.94 kB / 347.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.2228, allocations: 25.7 kB / 347.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.2229, allocations: 37.7 kB / 347.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.223, allocations: 0 / 347.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001766/0.2231, allocations: 77.45 kB / 348 MB, free: 12.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2232, allocations: 12 kB / 348 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2232, allocations: 0 / 348 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2232, allocations: 0 / 348 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.2233, allocations: 11.98 kB / 348 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2233, allocations: 128 / 348 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.2233, allocations: 11.94 kB / 348 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2234, allocations: 0 / 348 MB, free: 12.01 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.433e-05/0.2234, allocations: 113.8 kB / 348.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.2235, allocations: 12.31 kB / 348.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.2237, allocations: 109.4 kB / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.2237, allocations: 4 kB / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2238, allocations: 0 / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2238, allocations: 0 / 348.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.2239, allocations: 165.6 kB / 348.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2239, allocations: 4 kB / 348.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.224, allocations: 19.92 kB / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.224, allocations: 0 / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.224, allocations: 4 kB / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.224, allocations: 0 / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.224, allocations: 0 / 348.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.2242, allocations: 105.8 kB / 348.6 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.2243, allocations: 89.03 kB / 348.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2243, allocations: 8 kB / 348.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.2244, allocations: 0 / 348.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.2244, allocations: 7.984 kB / 348.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2245, allocations: 4 kB / 348.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.546e-05/0.2245, allocations: 103.5 kB / 348.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2245, allocations: 0 / 348.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007476/0.2253, allocations: 319.6 kB / 349.1 MB, free: 10.86 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.001207/0.2265, allocations: 0.5806 MB / 349.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.2267, allocations: 35.92 kB / 349.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2267, allocations: 0 / 349.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.2268, allocations: 19.92 kB / 349.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.227, allocations: 15.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.0004117/0.2274, allocations: 174 kB / 349.9 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2276, allocations: 0.6809 MB / 350.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.2278, allocations: 48.11 kB / 350.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.2278, allocations: 15.44 kB / 350.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2278, allocations: 0 / 350.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of Templates: time 0.01317/0.241, allocations: 8.881 MB / 359.5 MB, free: 348 kB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)