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.001002/0.001002, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.008181/0.008181, allocations: 173.7 kB / 16.27 MB, free: 6.676 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.344/1.344, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.0004418/0.0004419, allocations: 14.66 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 47.59 MB / 327 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001532/0.2231, allocations: 1.079 MB / 328.1 MB, free: 0.5078 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.237, allocations: 12.17 MB / 340.3 MB, free: 6.098 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.2371, allocations: 3.938 kB / 340.3 MB, free: 6.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.2371, allocations: 0 / 340.3 MB, free: 6.094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.2405, allocations: 0.857 MB / 341.1 MB, free: 5.234 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.2423, allocations: 0.5366 MB / 341.7 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2425, allocations: 63.7 kB / 341.7 MB, free: 4.633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.2425, allocations: 0 / 341.7 MB, free: 4.633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.2426, allocations: 27.92 kB / 341.8 MB, free: 4.605 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.2427, allocations: 27.91 kB / 341.8 MB, free: 4.578 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2427, allocations: 7.938 kB / 341.8 MB, free: 4.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.246, allocations: 1.565 MB / 343.4 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.246, allocations: 11.92 kB / 343.4 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.2461, allocations: 49.62 kB / 343.4 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.2485, allocations: 1.068 MB / 344.5 MB, free: 1.867 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2486, allocations: 4 kB / 344.5 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2486, allocations: 0 / 344.5 MB, free: 1.863 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.2486, allocations: 0 / 344.5 MB, free: 1.863 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.0008847/0.2495, allocations: 0.5264 MB / 345 MB, free: 1.289 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2495, allocations: 8.031 kB / 345 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.2497, allocations: 16.83 kB / 345 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2498, allocations: 172.3 kB / 345.2 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2498, allocations: 8.375 kB / 345.2 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2499, allocations: 384 / 345.2 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.25, allocations: 71.45 kB / 345.3 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2501, allocations: 0 / 345.3 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2501, allocations: 8 kB / 345.3 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2501, allocations: 0 / 345.3 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2502, allocations: 15.98 kB / 345.3 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.2504, allocations: 186.4 kB / 345.5 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.2507, allocations: 81.12 kB / 345.6 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.2508, allocations: 25.77 kB / 345.6 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006505/0.2573, allocations: 3.293 MB / 348.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2574, allocations: 38.5 kB / 348.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.2574, allocations: 0 / 348.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003312/0.2577, allocations: 85.97 kB / 349 MB, free: 12.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.2578, allocations: 81.11 kB / 349.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2579, allocations: 117.8 kB / 349.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2579, allocations: 29.7 kB / 349.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.258, allocations: 88.12 kB / 349.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.258, allocations: 23.7 kB / 349.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.2581, allocations: 9.719 kB / 349.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2582, allocations: 318.8 kB / 349.7 MB, free: 12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.2583, allocations: 7.984 kB / 349.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.2583, allocations: 33.64 kB / 349.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.2585, allocations: 41.69 kB / 349.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2585, allocations: 4 kB / 349.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001694/0.2586, allocations: 69.55 kB / 349.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2587, allocations: 7.938 kB / 349.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2587, allocations: 0 / 349.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2587, allocations: 4.125 kB / 349.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.2588, allocations: 12 kB / 349.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2588, allocations: 0 / 349.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.2588, allocations: 15.84 kB / 349.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.2589, allocations: 3.984 kB / 349.9 MB, free: 11.79 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 9.47e-05/0.259, allocations: 117.8 kB / 350 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.259, allocations: 7.938 kB / 350 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.2593, allocations: 97.47 kB / 350.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2593, allocations: 4 kB / 350.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2593, allocations: 4 kB / 350.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2593, allocations: 0 / 350.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2595, allocations: 169.6 kB / 350.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2596, allocations: 0 / 350.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.2596, allocations: 19.92 kB / 350.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2596, allocations: 0 / 350.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2597, allocations: 3.938 kB / 350.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2597, allocations: 4 kB / 350.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2597, allocations: 0 / 350.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2599, allocations: 97.97 kB / 350.4 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.26, allocations: 96.94 kB / 350.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.26, allocations: 0 / 350.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.2601, allocations: 4 kB / 350.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.2601, allocations: 7.984 kB / 350.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2602, allocations: 4 kB / 350.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.865e-05/0.2602, allocations: 95.27 kB / 350.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2602, allocations: 4 kB / 350.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008836/0.2611, allocations: 319.6 kB / 350.9 MB, free: 10.65 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.00132/0.2625, allocations: 0.5851 MB / 351.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.2626, allocations: 27.98 kB / 351.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2626, allocations: 4 kB / 351.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.2627, allocations: 27.92 kB / 351.5 MB, free: 9.992 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.263, allocations: 20.28 kB / 351.6 MB, free: 9.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.2634, allocations: 171.7 kB / 351.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2636, allocations: 0.6887 MB / 352.4 MB, free: 9.062 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.2637, allocations: 51.86 kB / 352.5 MB, free: 9.012 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.2638, allocations: 23.36 kB / 352.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2638, allocations: 0 / 352.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of Templates: time 0.01375/0.2775, allocations: 8.857 MB / 361.4 MB, free: 120 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)