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.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001309/0.001309, allocations: 55.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1957, allocations: 46.64 MB / 325.3 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002335/0.1981, allocations: 1.353 MB / 326.7 MB, free: 0.7383 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2112, allocations: 12.09 MB / 338.7 MB, free: 6.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.2113, allocations: 0 / 338.7 MB, free: 6.441 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.2114, allocations: 0 / 338.7 MB, free: 6.441 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.2148, allocations: 1.043 MB / 339.8 MB, free: 5.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.2165, allocations: 0.6294 MB / 340.4 MB, free: 4.762 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2166, allocations: 67.7 kB / 340.5 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.2166, allocations: 4 kB / 340.5 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.2167, allocations: 23.92 kB / 340.5 MB, free: 4.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.2168, allocations: 31.89 kB / 340.5 MB, free: 4.637 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2168, allocations: 8 kB / 340.5 MB, free: 4.629 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.2199, allocations: 1.58 MB / 342.1 MB, free: 3.047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.22, allocations: 15.92 kB / 342.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.22, allocations: 19.92 kB / 342.2 MB, free: 3.012 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.2224, allocations: 1.064 MB / 343.2 MB, free: 1.945 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2224, allocations: 0 / 343.2 MB, free: 1.945 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2224, allocations: 0 / 343.2 MB, free: 1.945 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2224, allocations: 0 / 343.2 MB, free: 1.945 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.000868/0.2233, allocations: 0.5458 MB / 343.8 MB, free: 1.352 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2234, allocations: 15.97 kB / 343.8 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.2235, allocations: 8.938 kB / 343.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2237, allocations: 180.2 kB / 344 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2237, allocations: 4.375 kB / 344 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2237, allocations: 4.375 kB / 344 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2239, allocations: 67.45 kB / 344 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2239, allocations: 0 / 344 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2239, allocations: 4 kB / 344.1 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2239, allocations: 7.938 kB / 344.1 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.224, allocations: 23.97 kB / 344.1 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.2243, allocations: 178.6 kB / 344.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.2245, allocations: 77.12 kB / 344.3 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.2246, allocations: 25.78 kB / 344.4 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006628/0.2313, allocations: 3.297 MB / 347.7 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2313, allocations: 42.44 kB / 347.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.2313, allocations: 0 / 347.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003087/0.2316, allocations: 89.5 kB / 347.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.2317, allocations: 81.11 kB / 347.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.2318, allocations: 109.8 kB / 348 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2318, allocations: 29.7 kB / 348 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2319, allocations: 84.14 kB / 348.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.2319, allocations: 19.8 kB / 348.1 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.232, allocations: 17.72 kB / 348.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2321, allocations: 314.8 kB / 348.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.2322, allocations: 11.98 kB / 348.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.2322, allocations: 25.7 kB / 348.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.2324, allocations: 45.64 kB / 348.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2324, allocations: 3.938 kB / 348.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001728/0.2325, allocations: 73.94 kB / 348.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2326, allocations: 4 kB / 348.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2326, allocations: 0 / 348.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2326, allocations: 4 kB / 348.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.2327, allocations: 11.94 kB / 348.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2327, allocations: 0 / 348.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.2327, allocations: 11.97 kB / 348.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2328, allocations: 8.109 kB / 348.6 MB, free: 11.84 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 8.104e-05/0.2328, allocations: 113.8 kB / 348.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.2329, allocations: 11.84 kB / 348.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.2331, allocations: 105.8 kB / 348.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2331, allocations: 8 kB / 348.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2332, allocations: 0 / 348.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2332, allocations: 0 / 348.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2333, allocations: 161.7 kB / 349 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2333, allocations: 0 / 349 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.2334, allocations: 23.86 kB / 349 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2334, allocations: 0 / 349 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2334, allocations: 4 kB / 349 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2334, allocations: 0 / 349 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2334, allocations: 4 kB / 349 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.2336, allocations: 101.9 kB / 349.1 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.2337, allocations: 96.97 kB / 349.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2337, allocations: 0 / 349.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.2338, allocations: 4 kB / 349.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.2339, allocations: 15.92 kB / 349.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.2339, allocations: 0 / 349.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.2339, allocations: 99.27 kB / 349.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2339, allocations: 0 / 349.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007951/0.2347, allocations: 319.6 kB / 349.7 MB, free: 10.7 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.001158/0.2359, allocations: 0.5806 MB / 350.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.2361, allocations: 35.91 kB / 350.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2361, allocations: 8 kB / 350.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.513e-05/0.2362, allocations: 19.98 kB / 350.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.2364, allocations: 11.94 kB / 350.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.2368, allocations: 163.9 kB / 350.5 MB, free: 9.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.237, allocations: 0.6846 MB / 351.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.2372, allocations: 48.11 kB / 351.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.2372, allocations: 23.42 kB / 351.2 MB, free: 9.059 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2372, allocations: 0 / 351.2 MB, free: 9.059 MB / 286.1 MB Notification: Performance of Templates: time 0.01346/0.2507, allocations: 8.967 MB / 360.2 MB, free: 80 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)