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.0008352/0.0008353, allocations: 90.52 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.005771/0.005772, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004914/0.0004912, allocations: 14.81 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001467/0.2167, allocations: 1.077 MB / 328.1 MB, free: 0.543 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.2305, allocations: 12.17 MB / 340.3 MB, free: 6.086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.2306, allocations: 4 kB / 340.3 MB, free: 6.082 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.2306, allocations: 3.984 kB / 340.3 MB, free: 6.078 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.2335, allocations: 0.8531 MB / 341.1 MB, free: 5.223 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.2353, allocations: 0.5366 MB / 341.7 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2354, allocations: 63.72 kB / 341.7 MB, free: 4.621 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.2355, allocations: 0 / 341.7 MB, free: 4.621 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.2355, allocations: 31.91 kB / 341.8 MB, free: 4.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.2356, allocations: 27.91 kB / 341.8 MB, free: 4.562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2356, allocations: 4 kB / 341.8 MB, free: 4.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.2387, allocations: 1.561 MB / 343.4 MB, free: 2.996 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.2387, allocations: 15.92 kB / 343.4 MB, free: 2.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.2388, allocations: 53.61 kB / 343.4 MB, free: 2.922 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002819/0.2416, allocations: 1.064 MB / 344.5 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.516e-05/0.2417, allocations: 0 / 344.5 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2417, allocations: 0 / 344.5 MB, free: 1.855 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2417, allocations: 4 kB / 344.5 MB, free: 1.852 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.0009588/0.2427, allocations: 0.5264 MB / 345 MB, free: 1.277 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2427, allocations: 8.031 kB / 345 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.2429, allocations: 12.84 kB / 345 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.2431, allocations: 180.3 kB / 345.2 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2431, allocations: 4.375 kB / 345.2 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2431, allocations: 4.375 kB / 345.2 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.2433, allocations: 67.52 kB / 345.3 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2433, allocations: 3.938 kB / 345.3 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2433, allocations: 4 kB / 345.3 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2433, allocations: 0 / 345.3 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.2435, allocations: 19.98 kB / 345.3 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.2437, allocations: 182.4 kB / 345.5 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.244, allocations: 85.06 kB / 345.6 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.244, allocations: 21.78 kB / 345.6 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006542/0.2506, allocations: 3.305 MB / 348.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.2506, allocations: 38.5 kB / 348.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.2507, allocations: 0 / 348.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003371/0.251, allocations: 77.98 kB / 349 MB, free: 12.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.2511, allocations: 81.11 kB / 349.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.2512, allocations: 117.8 kB / 349.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2512, allocations: 29.7 kB / 349.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.2513, allocations: 80.14 kB / 349.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.2513, allocations: 23.66 kB / 349.3 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.2514, allocations: 9.719 kB / 349.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2515, allocations: 322.8 kB / 349.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.2515, allocations: 8 kB / 349.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.2516, allocations: 25.7 kB / 349.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.2517, allocations: 45.69 kB / 349.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2517, allocations: 0 / 349.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001726/0.2519, allocations: 69.55 kB / 349.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2519, allocations: 7.938 kB / 349.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.252, allocations: 0 / 349.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.252, allocations: 8 kB / 349.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.2521, allocations: 15.98 kB / 349.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2521, allocations: 0 / 349.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.2521, allocations: 11.84 kB / 349.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2521, allocations: 0 / 349.9 MB, free: 11.78 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.51e-05/0.2522, allocations: 113.8 kB / 350 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.2523, allocations: 11.94 kB / 350 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.2526, allocations: 101.8 kB / 350.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2526, allocations: 0 / 350.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2526, allocations: 4 kB / 350.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2526, allocations: 0 / 350.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2528, allocations: 169.7 kB / 350.2 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2528, allocations: 7.984 kB / 350.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.2528, allocations: 15.94 kB / 350.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2528, allocations: 0 / 350.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2529, allocations: 4 kB / 350.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2529, allocations: 0 / 350.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2529, allocations: 7.938 kB / 350.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.2531, allocations: 93.97 kB / 350.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.2532, allocations: 96.94 kB / 350.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2532, allocations: 3.984 kB / 350.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.2533, allocations: 8 kB / 350.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.2533, allocations: 11.92 kB / 350.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2533, allocations: 4 kB / 350.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.202e-05/0.2534, allocations: 95.27 kB / 350.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2534, allocations: 0 / 350.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008688/0.2543, allocations: 311.6 kB / 350.9 MB, free: 10.64 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.001399/0.2557, allocations: 0.5923 MB / 351.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.2559, allocations: 31.97 kB / 351.5 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2559, allocations: 0 / 351.5 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/0.256, allocations: 23.92 kB / 351.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.2562, allocations: 16.31 kB / 351.6 MB, free: 9.965 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.2566, allocations: 175.7 kB / 351.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2569, allocations: 0.6809 MB / 352.4 MB, free: 9.059 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.257, allocations: 56.08 kB / 352.5 MB, free: 9.004 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.2571, allocations: 23.42 kB / 352.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2571, allocations: 0 / 352.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of Templates: time 0.0137/0.2708, allocations: 8.872 MB / 361.4 MB, free: 96 kB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (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)