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.0008064/0.0008064, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008377/0.0008377, allocations: 172.7 kB / 15.95 MB, free: 208 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.313/1.313, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0007402/0.0007403, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2413, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001147/0.2425, allocations: 1.06 MB / 327.5 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.2543, allocations: 11.12 MB / 338.7 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.2544, allocations: 0 / 338.7 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.2544, allocations: 7.922 kB / 338.7 MB, free: 7.254 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.2572, allocations: 0.7972 MB / 339.5 MB, free: 6.453 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.2587, allocations: 481.7 kB / 339.9 MB, free: 5.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.2588, allocations: 55.72 kB / 340 MB, free: 5.926 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.2588, allocations: 0 / 340 MB, free: 5.926 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.2589, allocations: 23.92 kB / 340 MB, free: 5.902 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.259, allocations: 31.89 kB / 340 MB, free: 5.871 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.259, allocations: 4 kB / 340 MB, free: 5.867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.2618, allocations: 1.385 MB / 341.4 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.2619, allocations: 3.984 kB / 341.4 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.2619, allocations: 41.64 kB / 341.5 MB, free: 4.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.263, allocations: 0.6757 MB / 342.1 MB, free: 3.754 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.263, allocations: 0 / 342.1 MB, free: 3.754 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.263, allocations: 0 / 342.1 MB, free: 3.754 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.263, allocations: 0 / 342.1 MB, free: 3.754 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.000728/0.2637, allocations: 0.53 MB / 342.7 MB, free: 3.176 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2638, allocations: 8.031 kB / 342.7 MB, free: 3.168 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2639, allocations: 15.91 kB / 342.7 MB, free: 3.152 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2641, allocations: 175 kB / 342.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2641, allocations: 4 kB / 342.9 MB, free: 2.938 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2641, allocations: 4 kB / 342.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2643, allocations: 63.33 kB / 342.9 MB, free: 2.859 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2643, allocations: 0 / 342.9 MB, free: 2.859 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2643, allocations: 4 kB / 342.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2643, allocations: 7.938 kB / 343 MB, free: 2.848 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.2645, allocations: 23.97 kB / 343 MB, free: 2.824 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.2647, allocations: 174.6 kB / 343.1 MB, free: 2.602 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.265, allocations: 85.12 kB / 343.2 MB, free: 2.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.265, allocations: 29.77 kB / 343.3 MB, free: 2.465 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005884/0.2709, allocations: 3.293 MB / 346.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.271, allocations: 34.56 kB / 346.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/0.271, allocations: 7.984 kB / 346.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003093/0.2713, allocations: 85.5 kB / 346.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.2714, allocations: 81.11 kB / 346.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2715, allocations: 109.8 kB / 346.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2715, allocations: 29.7 kB / 346.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.2716, allocations: 80.14 kB / 347 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.2717, allocations: 23.66 kB / 347 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.2717, allocations: 4 kB / 347 MB, free: 14.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2718, allocations: 318.8 kB / 347.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.2719, allocations: 11.94 kB / 347.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.2719, allocations: 25.7 kB / 347.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.65e-05/0.272, allocations: 11.98 kB / 347.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.272, allocations: 3.953 kB / 347.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001585/0.2722, allocations: 69.61 kB / 347.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2722, allocations: 12 kB / 347.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2722, allocations: 0 / 347.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2722, allocations: 0 / 347.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.2723, allocations: 11.94 kB / 347.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2723, allocations: 4 kB / 347.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.2724, allocations: 7.922 kB / 347.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2724, allocations: 4 kB / 347.5 MB, free: 13.73 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 8.747e-05/0.2725, allocations: 109.8 kB / 347.6 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.2725, allocations: 15.86 kB / 347.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.2728, allocations: 109.7 kB / 347.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2728, allocations: 0 / 347.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2728, allocations: 0 / 347.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2728, allocations: 0 / 347.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.273, allocations: 177.5 kB / 347.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.273, allocations: 4 kB / 347.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.2731, allocations: 15.94 kB / 347.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2731, allocations: 0 / 347.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2731, allocations: 4 kB / 347.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2731, allocations: 0 / 347.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2731, allocations: 0 / 347.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.2733, allocations: 102.5 kB / 348 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.2734, allocations: 89 kB / 348.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2734, allocations: 7.953 kB / 348.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.2735, allocations: 7.984 kB / 348.1 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.2735, allocations: 7.984 kB / 348.1 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2735, allocations: 4.188 kB / 348.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.2736, allocations: 91.27 kB / 348.2 MB, free: 12.9 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2736, allocations: 0 / 348.2 MB, free: 12.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009932/0.2746, allocations: 319.6 kB / 348.5 MB, free: 12.59 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.001183/0.2758, allocations: 0.5688 MB / 349.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.276, allocations: 39.89 kB / 349.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.276, allocations: 0 / 349.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.2761, allocations: 19.98 kB / 349.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.2763, allocations: 12 kB / 349.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.2767, allocations: 189.3 kB / 349.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.277, allocations: 0.6809 MB / 350 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.2771, allocations: 52.28 kB / 350.1 MB, free: 10.97 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.2772, allocations: 19.42 kB / 350.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2772, allocations: 4 kB / 350.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of Templates: time 0.01333/0.2905, allocations: 8.763 MB / 358.9 MB, free: 2.168 MB / 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)