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.001186/0.001186, 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.001396/0.001396, allocations: 194.6 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.319/1.319, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001247/0.001247, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2044, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002022/0.2065, allocations: 1.355 MB / 326.7 MB, free: 0.7734 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.2193, allocations: 12.08 MB / 338.7 MB, free: 6.438 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.2194, allocations: 0 / 338.7 MB, free: 6.438 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.2194, allocations: 3.938 kB / 338.7 MB, free: 6.434 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.2233, allocations: 1.047 MB / 339.8 MB, free: 5.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.2253, allocations: 0.6294 MB / 340.4 MB, free: 4.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2254, allocations: 59.72 kB / 340.5 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.2254, allocations: 4 kB / 340.5 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.2255, allocations: 31.91 kB / 340.5 MB, free: 4.656 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.2256, allocations: 35.89 kB / 340.5 MB, free: 4.621 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2256, allocations: 4 kB / 340.6 MB, free: 4.617 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.2299, allocations: 1.58 MB / 342.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.23, allocations: 3.938 kB / 342.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.2301, allocations: 27.91 kB / 342.2 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.2335, allocations: 1.068 MB / 343.2 MB, free: 1.934 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2335, allocations: 0 / 343.2 MB, free: 1.934 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2335, allocations: 0 / 343.2 MB, free: 1.934 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2335, allocations: 0 / 343.2 MB, free: 1.934 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.0008117/0.2344, allocations: 0.5458 MB / 343.8 MB, free: 1.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2344, allocations: 11.97 kB / 343.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2346, allocations: 8.922 kB / 343.8 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.2348, allocations: 192.1 kB / 344 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2348, allocations: 384 / 344 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2348, allocations: 4.375 kB / 344 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.235, allocations: 67.52 kB / 344.1 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.235, allocations: 0 / 344.1 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2351, allocations: 7.984 kB / 344.1 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2351, allocations: 0 / 344.1 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.2352, allocations: 27.92 kB / 344.1 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.2354, allocations: 174.6 kB / 344.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.2358, allocations: 81.19 kB / 344.3 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.2359, allocations: 25.78 kB / 344.4 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006614/0.2425, allocations: 3.297 MB / 347.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.2426, allocations: 38.5 kB / 347.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.2426, allocations: 0 / 347.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003562/0.243, allocations: 85.5 kB / 347.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.243, allocations: 77.11 kB / 347.9 MB, free: 12.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2431, allocations: 113.8 kB / 348 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2432, allocations: 33.7 kB / 348 MB, free: 12.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.2432, allocations: 84.14 kB / 348.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.2433, allocations: 15.81 kB / 348.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.2433, allocations: 17.7 kB / 348.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2434, allocations: 314.8 kB / 348.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.2435, allocations: 11.98 kB / 348.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.2436, allocations: 25.7 kB / 348.5 MB, free: 12.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2437, allocations: 46.02 kB / 348.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2437, allocations: 3.938 kB / 348.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001711/0.2439, allocations: 77.5 kB / 348.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2439, allocations: 8 kB / 348.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2439, allocations: 0 / 348.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.244, allocations: 3.938 kB / 348.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.244, allocations: 8 kB / 348.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2441, allocations: 4 kB / 348.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.2441, allocations: 7.938 kB / 348.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.2441, allocations: 7.984 kB / 348.6 MB, free: 11.83 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.048e-05/0.2442, allocations: 109.8 kB / 348.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2443, allocations: 15.78 kB / 348.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.2445, allocations: 113.7 kB / 348.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.2445, allocations: 0 / 348.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2446, allocations: 0 / 348.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2446, allocations: 0 / 348.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2447, allocations: 169.6 kB / 349 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2447, allocations: 0 / 349 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.2448, allocations: 15.92 kB / 349 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2448, allocations: 0 / 349 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2448, allocations: 4 kB / 349 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2448, allocations: 0 / 349 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2448, allocations: 4 kB / 349 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.245, allocations: 109.8 kB / 349.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.2451, allocations: 93.22 kB / 349.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2451, allocations: 4 kB / 349.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.2452, allocations: 0 / 349.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.2452, allocations: 7.984 kB / 349.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2452, allocations: 12 kB / 349.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.885e-05/0.2453, allocations: 91.27 kB / 349.4 MB, free: 11 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2453, allocations: 0 / 349.4 MB, free: 11 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008356/0.2461, allocations: 323.6 kB / 349.7 MB, free: 10.68 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.00104/0.2472, allocations: 0.5728 MB / 350.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.2474, allocations: 43.91 kB / 350.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2474, allocations: 0 / 350.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.2475, allocations: 19.98 kB / 350.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.2477, allocations: 15.94 kB / 350.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.2481, allocations: 159.9 kB / 350.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.2483, allocations: 0.6846 MB / 351.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.2485, allocations: 48.11 kB / 351.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.2485, allocations: 23.42 kB / 351.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2485, allocations: 0 / 351.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of Templates: time 0.01347/0.262, allocations: 8.975 MB / 360.2 MB, free: 64 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)