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.001195/0.001195, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001358/0.001358, allocations: 177.3 kB / 15.95 MB, free: 216 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.405/1.405, 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.0004934/0.0004936, allocations: 14.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001393/0.231, allocations: 1.039 MB / 327.5 MB, free: 0.5742 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.2426, allocations: 10.13 MB / 337.6 MB, free: 8.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.2427, allocations: 0 / 337.6 MB, free: 8.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.2427, allocations: 4 kB / 337.6 MB, free: 8.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.2458, allocations: 0.8451 MB / 338.5 MB, free: 7.469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.2472, allocations: 0.5023 MB / 339 MB, free: 6.965 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.2473, allocations: 43.92 kB / 339 MB, free: 6.922 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.2473, allocations: 4 kB / 339 MB, free: 6.918 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.2474, allocations: 27.91 kB / 339 MB, free: 6.891 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.2475, allocations: 27.91 kB / 339.1 MB, free: 6.863 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2475, allocations: 4 kB / 339.1 MB, free: 6.859 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.2504, allocations: 1.499 MB / 340.6 MB, free: 5.359 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.2504, allocations: 15.92 kB / 340.6 MB, free: 5.344 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.2505, allocations: 33.64 kB / 340.6 MB, free: 5.305 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.2518, allocations: 0.668 MB / 341.3 MB, free: 4.637 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2518, allocations: 0 / 341.3 MB, free: 4.637 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2518, allocations: 0 / 341.3 MB, free: 4.637 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2518, allocations: 0 / 341.3 MB, free: 4.637 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.0007527/0.2526, allocations: 0.5339 MB / 341.8 MB, free: 4.055 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2526, allocations: 8.031 kB / 341.8 MB, free: 4.047 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.2528, allocations: 11.91 kB / 341.8 MB, free: 4.035 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.2529, allocations: 179 kB / 342 MB, free: 3.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.253, allocations: 7.938 kB / 342 MB, free: 3.812 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.253, allocations: 11.94 kB / 342 MB, free: 3.801 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2532, allocations: 63.39 kB / 342.1 MB, free: 3.727 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2532, allocations: 0 / 342.1 MB, free: 3.727 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2532, allocations: 0 / 342.1 MB, free: 3.727 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2532, allocations: 4 kB / 342.1 MB, free: 3.723 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.2533, allocations: 23.92 kB / 342.1 MB, free: 3.699 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.2535, allocations: 182.5 kB / 342.3 MB, free: 3.469 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.2538, allocations: 77.28 kB / 342.4 MB, free: 3.375 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006149/0.26, allocations: 3.27 MB / 345.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.26, allocations: 34.5 kB / 345.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.26, allocations: 0 / 345.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002998/0.2603, allocations: 85.5 kB / 345.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2604, allocations: 81.11 kB / 345.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.2605, allocations: 113.8 kB / 345.9 MB, free: 15.31 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2605, allocations: 29.7 kB / 346 MB, free: 15.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.2606, allocations: 84.14 kB / 346.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2606, allocations: 31.62 kB / 346.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.2606, allocations: 0 / 346.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.2607, allocations: 310.8 kB / 346.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.2608, allocations: 15.98 kB / 346.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.2608, allocations: 25.7 kB / 346.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.139e-05/0.2609, allocations: 12 kB / 346.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2609, allocations: 0 / 346.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001674/0.2611, allocations: 73.94 kB / 346.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2611, allocations: 4 kB / 346.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2611, allocations: 3.938 kB / 346.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2611, allocations: 4.094 kB / 346.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.2612, allocations: 11.98 kB / 346.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2612, allocations: 0 / 346.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.2613, allocations: 7.984 kB / 346.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2613, allocations: 0 / 346.6 MB, free: 14.68 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 7.543e-05/0.2614, allocations: 121.8 kB / 346.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.2614, allocations: 11.86 kB / 346.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.2617, allocations: 97.47 kB / 346.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2617, allocations: 0 / 346.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2617, allocations: 8 kB / 346.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2617, allocations: 0 / 346.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.2618, allocations: 169.5 kB / 346.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2618, allocations: 3.984 kB / 347 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.2619, allocations: 16 kB / 347 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2619, allocations: 3.953 kB / 347 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2619, allocations: 3.938 kB / 347 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2619, allocations: 3.938 kB / 347 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2619, allocations: 4.312 kB / 347 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.2621, allocations: 111.8 kB / 347.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.2622, allocations: 92.95 kB / 347.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.2622, allocations: 7.984 kB / 347.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.2623, allocations: 4 kB / 347.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.2623, allocations: 7.984 kB / 347.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2624, allocations: 0 / 347.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.2624, allocations: 107.2 kB / 347.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2624, allocations: 0 / 347.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007949/0.2632, allocations: 307.6 kB / 347.6 MB, free: 13.51 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.001011/0.2642, allocations: 0.5688 MB / 348.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.2644, allocations: 35.98 kB / 348.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2644, allocations: 0 / 348.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.2645, allocations: 23.92 kB / 348.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.2647, allocations: 4 kB / 348.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.2651, allocations: 197.3 kB / 348.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2653, allocations: 0.6887 MB / 349.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.2655, allocations: 48.34 kB / 349.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.2655, allocations: 23.36 kB / 349.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2655, allocations: 0 / 349.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Templates: time 0.01184/0.2774, allocations: 8.771 MB / 358 MB, free: 3.074 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: