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.001063/0.001063, allocations: 105.2 kB / 16.62 MB, free: 6.809 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.001255/0.001255, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.26/1.26, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001121/0.001122, allocations: 47.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07183/0.07296, allocations: 46.62 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002173/0.07517, allocations: 1.426 MB / 327.6 MB, free: 3.367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.08632, allocations: 12.02 MB / 339.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.08637, allocations: 0 / 339.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.08642, allocations: 3.984 kB / 339.6 MB, free: 7.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.0888, allocations: 0.9105 MB / 340.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.08996, allocations: 0.5562 MB / 341 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.09005, allocations: 67.7 kB / 341.1 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.09009, allocations: 0 / 341.1 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.09014, allocations: 31.91 kB / 341.1 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.09023, allocations: 31.91 kB / 341.2 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.09025, allocations: 4 kB / 341.2 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.09251, allocations: 1.592 MB / 342.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.09254, allocations: 11.92 kB / 342.8 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.09258, allocations: 19.94 kB / 342.8 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.09402, allocations: 1.08 MB / 343.9 MB, free: 2.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09404, allocations: 4 kB / 343.9 MB, free: 2.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09404, allocations: 4 kB / 343.9 MB, free: 2.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09406, allocations: 0 / 343.9 MB, free: 2.961 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.000645/0.09471, allocations: 0.5418 MB / 344.4 MB, free: 2.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.09474, allocations: 12.03 kB / 344.4 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.09486, allocations: 8.922 kB / 344.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.095, allocations: 184.2 kB / 344.6 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.09502, allocations: 384 / 344.6 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.09504, allocations: 4.375 kB / 344.6 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.0952, allocations: 79.44 kB / 344.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.09521, allocations: 0 / 344.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.09523, allocations: 0 / 344.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.09524, allocations: 0 / 344.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.09535, allocations: 23.98 kB / 344.7 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.09553, allocations: 166.5 kB / 344.9 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.0958, allocations: 85.22 kB / 345 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.09588, allocations: 25.77 kB / 345 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006346/0.1022, allocations: 3.297 MB / 348.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1023, allocations: 38.5 kB / 348.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.545e-06/0.1023, allocations: 0 / 348.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002913/0.1026, allocations: 81.52 kB / 348.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1026, allocations: 89.03 kB / 348.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.1027, allocations: 113.8 kB / 348.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1027, allocations: 29.7 kB / 348.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.1028, allocations: 84.14 kB / 348.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1028, allocations: 11.75 kB / 348.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1029, allocations: 25.7 kB / 348.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.103, allocations: 318.8 kB / 349.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.103, allocations: 15.98 kB / 349.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.1031, allocations: 25.7 kB / 349.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1032, allocations: 42.02 kB / 349.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1032, allocations: 0 / 349.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001624/0.1034, allocations: 73.58 kB / 349.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1034, allocations: 11.98 kB / 349.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1034, allocations: 4 kB / 349.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1034, allocations: 4 kB / 349.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.1035, allocations: 8 kB / 349.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1035, allocations: 4 kB / 349.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.1036, allocations: 4 kB / 349.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1036, allocations: 11.92 kB / 349.3 MB, free: 12.86 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.279e-05/0.1037, allocations: 105.8 kB / 349.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1037, allocations: 11.84 kB / 349.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1039, allocations: 105.5 kB / 349.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.104, allocations: 0 / 349.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.104, allocations: 0 / 349.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.104, allocations: 0 / 349.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.1041, allocations: 169.7 kB / 349.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1041, allocations: 0 / 349.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.1042, allocations: 19.86 kB / 349.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1042, allocations: 4 kB / 349.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1042, allocations: 4 kB / 349.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1042, allocations: 0 / 349.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1042, allocations: 0 / 349.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1044, allocations: 101.9 kB / 349.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1045, allocations: 88.97 kB / 349.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1045, allocations: 4 kB / 349.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.1046, allocations: 8 kB / 349.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1046, allocations: 7.984 kB / 349.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1047, allocations: 4 kB / 349.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.1047, allocations: 99.55 kB / 350 MB, free: 12.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1047, allocations: 0 / 350 MB, free: 12.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.1054, allocations: 327.6 kB / 350.3 MB, free: 11.72 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.001038/0.1064, allocations: 0.5729 MB / 350.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1066, allocations: 43.91 kB / 350.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1066, allocations: 0 / 350.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/0.1067, allocations: 12 kB / 350.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.1069, allocations: 19.92 kB / 351 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.1073, allocations: 191.7 kB / 351.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.1075, allocations: 0.6846 MB / 351.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1076, allocations: 52.09 kB / 351.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.1077, allocations: 19.42 kB / 351.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1077, allocations: 0 / 351.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01188/0.1196, allocations: 8.931 MB / 360.8 MB, free: 1.121 MB / 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)