Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0008261/0.0008263, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0008974/0.0008975, allocations: 182 kB / 17.56 MB, free: 6.203 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.294/1.294, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0004341/0.0004341, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08238, allocations: 47.59 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001416/0.08385, allocations: 1.075 MB / 329.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.097, allocations: 12.17 MB / 341.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.09708, allocations: 0 / 341.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.0971, allocations: 0 / 341.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1, allocations: 0.8676 MB / 342.4 MB, free: 5.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1016, allocations: 0.5249 MB / 342.9 MB, free: 5.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.1017, allocations: 55.73 kB / 343 MB, free: 5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.1018, allocations: 11.92 kB / 343 MB, free: 4.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.1018, allocations: 27.92 kB / 343 MB, free: 4.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.1019, allocations: 39.89 kB / 343.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.102, allocations: 0 / 343.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.1047, allocations: 1.565 MB / 344.6 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.1047, allocations: 19.91 kB / 344.7 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.1048, allocations: 41.64 kB / 344.7 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.1065, allocations: 1.072 MB / 345.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1065, allocations: 4 kB / 345.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1065, allocations: 0 / 345.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1065, allocations: 0 / 345.8 MB, free: 2.211 MB / 286.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.0007304/0.1073, allocations: 0.5264 MB / 346.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1073, allocations: 11.97 kB / 346.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1075, allocations: 12.83 kB / 346.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1077, allocations: 180.2 kB / 346.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1077, allocations: 384 / 346.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1077, allocations: 8.375 kB / 346.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1079, allocations: 71.45 kB / 346.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1079, allocations: 0 / 346.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.108, allocations: 3.984 kB / 346.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.108, allocations: 0 / 346.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1081, allocations: 23.98 kB / 346.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1083, allocations: 170.6 kB / 346.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1085, allocations: 89.12 kB / 346.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.1086, allocations: 25.77 kB / 346.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006247/0.1149, allocations: 3.29 MB / 350.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1149, allocations: 38.5 kB / 350.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1149, allocations: 0 / 350.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.00031/0.1153, allocations: 81.59 kB / 350.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1153, allocations: 77.11 kB / 350.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.1154, allocations: 113.8 kB / 350.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1154, allocations: 29.7 kB / 350.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.1155, allocations: 92.08 kB / 350.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1155, allocations: 19.64 kB / 350.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1156, allocations: 17.72 kB / 350.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.1157, allocations: 310.8 kB / 350.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1157, allocations: 15.98 kB / 351 MB, free: 12.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1158, allocations: 21.72 kB / 351 MB, free: 12.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1159, allocations: 42.06 kB / 351 MB, free: 12.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1159, allocations: 3.938 kB / 351 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001565/0.1161, allocations: 77.45 kB / 351.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1161, allocations: 10.66 kB / 351.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1161, allocations: 3.938 kB / 351.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1161, allocations: 4.109 kB / 351.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.1162, allocations: 12 kB / 351.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1162, allocations: 4 kB / 351.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.1163, allocations: 4 kB / 351.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1163, allocations: 4 kB / 351.1 MB, free: 12.14 MB / 302.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 7.939e-05/0.1164, allocations: 117.8 kB / 351.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.1164, allocations: 7.938 kB / 351.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1167, allocations: 113.7 kB / 351.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1167, allocations: 0 / 351.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1167, allocations: 0 / 351.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1167, allocations: 0 / 351.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1168, allocations: 169.6 kB / 351.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1168, allocations: 0 / 351.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.1169, allocations: 15.94 kB / 351.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1169, allocations: 3.984 kB / 351.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1169, allocations: 4 kB / 351.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1169, allocations: 3.938 kB / 351.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.117, allocations: 0 / 351.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.1171, allocations: 97.97 kB / 351.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1172, allocations: 96.94 kB / 351.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1172, allocations: 0 / 351.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.1173, allocations: 4 kB / 351.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1174, allocations: 7.984 kB / 351.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1174, allocations: 8 kB / 351.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.1174, allocations: 91.27 kB / 351.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1174, allocations: 0 / 351.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008367/0.1183, allocations: 323.6 kB / 352.2 MB, free: 11 MB / 302.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.001125/0.1194, allocations: 0.5845 MB / 352.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1196, allocations: 35.98 kB / 352.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1196, allocations: 0 / 352.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.1197, allocations: 19.92 kB / 352.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1199, allocations: 11.94 kB / 352.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.1203, allocations: 187.4 kB / 353 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1205, allocations: 0.6848 MB / 353.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1206, allocations: 48.47 kB / 353.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1207, allocations: 15.44 kB / 353.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1207, allocations: 0 / 353.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of Templates: time 0.01312/0.1338, allocations: 8.88 MB / 362.6 MB, free: 472 kB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)