Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007318/0.007318, allocations: 107 kB / 15.74 MB, free: 6.043 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.001877/0.001877, allocations: 199 kB / 16.68 MB, free: 5.957 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.356/1.356, allocations: 205.1 MB / 222.6 MB, free: 4.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.001186/0.001186, allocations: 54.89 kB / 326.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09539, allocations: 46.62 MB / 373.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0359/0.1313, allocations: 37.44 MB / 410.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.138, allocations: 4.572 MB / 415.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.1385, allocations: 4 kB / 415.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1397, allocations: 298.1 kB / 415.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009924/0.1407, allocations: 485.4 kB / 416 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005077/0.1458, allocations: 1.653 MB / 417.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1473, allocations: 1.269 MB / 418.9 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.1476, allocations: 166.6 kB / 419.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005994/0.1482, allocations: 470.5 kB / 419.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.1487, allocations: 410.4 kB / 419.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.862e-05/0.1488, allocations: 48 kB / 420 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.1504, allocations: 0.7571 MB / 420.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1505, allocations: 127.6 kB / 420.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.1508, allocations: 282.9 kB / 421.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.152, allocations: 1.052 MB / 422.2 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.152, allocations: 0 / 422.2 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.152, allocations: 7.938 kB / 422.2 MB, free: 224 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.152, allocations: 0 / 422.2 MB, free: 224 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001104/0.1531, allocations: 0.7759 MB / 423 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1532, allocations: 11.89 kB / 423 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005678/0.1537, allocations: 80.44 kB / 423 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.1543, allocations: 339.4 kB / 423.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.1543, allocations: 33.38 kB / 423.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.1544, allocations: 40.38 kB / 423.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.155, allocations: 471.6 kB / 423.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.1551, allocations: 4 kB / 423.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.1551, allocations: 16 kB / 423.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1551, allocations: 8 kB / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.1556, allocations: 311.6 kB / 424.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.1691, allocations: 6.723 MB / 431 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.1696, allocations: 286.4 kB / 431.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1699, allocations: 145.4 kB / 431.4 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.1804, allocations: 3.892 MB / 435.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1805, allocations: 38.56 kB / 435.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.1805, allocations: 0 / 435.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01189/0.1924, allocations: 2.462 MB / 437.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1925, allocations: 55.41 kB / 437.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.1928, allocations: 303.3 kB / 438.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.1929, allocations: 37.7 kB / 438.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.193, allocations: 223.9 kB / 438.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1932, allocations: 165.6 kB / 438.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1933, allocations: 94.25 kB / 438.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1935, allocations: 350.7 kB / 439 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.1937, allocations: 149.1 kB / 439.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1941, allocations: 283.7 kB / 439.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.1947, allocations: 472.2 kB / 439.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1947, allocations: 0 / 439.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001025/0.1957, allocations: 0.5877 MB / 440.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1958, allocations: 11.94 kB / 440.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1958, allocations: 4.469 kB / 440.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007954/0.2038, allocations: 1.843 MB / 442.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.2042, allocations: 119.8 kB / 442.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.2063, allocations: 2.554 MB / 445 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.2066, allocations: 20.12 kB / 445 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.2067, allocations: 20 kB / 445 MB, free: 7.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.207, allocations: 177.6 kB / 445.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.207, allocations: 39.62 kB / 445.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.2083, allocations: 0.8629 MB / 446.1 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.2083, allocations: 8 kB / 446.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2083, allocations: 3.984 kB / 446.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009807/0.2093, allocations: 0.9535 MB / 447.1 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.2112, allocations: 1.486 MB / 448.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2112, allocations: 0 / 448.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.2115, allocations: 79.89 kB / 448.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/0.2148, allocations: 0.614 MB / 449.2 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.2149, allocations: 19.92 kB / 449.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.2159, allocations: 1.276 MB / 450.5 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2159, allocations: 0 / 450.5 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.2174, allocations: 1.229 MB / 451.8 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.2176, allocations: 116.6 kB / 451.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.2176, allocations: 12.03 kB / 451.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2179, allocations: 11.94 kB / 451.9 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.2179, allocations: 27.97 kB / 451.9 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.218, allocations: 23.98 kB / 452 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.2182, allocations: 209.9 kB / 452.2 MB, free: 492 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2182, allocations: 4 kB / 452.2 MB, free: 488 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008488/0.2191, allocations: 231.9 kB / 452.4 MB, free: 256 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1904/0.4095, allocations: 268.6 kB / 452.6 MB, free: 78.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.4115, allocations: 0.701 MB / 453.3 MB, free: 78.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4115, allocations: 0.5625 kB / 453.3 MB, free: 78.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.4127, allocations: 434 kB / 453.8 MB, free: 78.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.4142, allocations: 245.9 kB / 454 MB, free: 78.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.4162, allocations: 1.218 MB / 455.2 MB, free: 77.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4165, allocations: 0.8381 MB / 456.1 MB, free: 76.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.4168, allocations: 67.28 kB / 456.1 MB, free: 76.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.4169, allocations: 35.88 kB / 456.2 MB, free: 76.93 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.417, allocations: 1.125 kB / 456.2 MB, free: 76.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02138/0.4383, allocations: 12.79 MB / 469 MB, free: 72.08 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)