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.007544/0.007544, allocations: 104.2 kB / 15.73 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.001262/0.001262, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.353/1.353, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.001281/0.001281, allocations: 54.31 kB / 326.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09519, allocations: 46.63 MB / 373.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03483/0.13, allocations: 37.45 MB / 410.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.1354, allocations: 4.564 MB / 415.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.1358, allocations: 7.938 kB / 415.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008196/0.1366, allocations: 298.2 kB / 415.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008269/0.1375, allocations: 489.3 kB / 416 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.1416, allocations: 1.645 MB / 417.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.143, allocations: 1.273 MB / 418.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.1433, allocations: 170.7 kB / 419.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.1439, allocations: 478.5 kB / 419.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.1444, allocations: 410.4 kB / 419.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.1445, allocations: 44 kB / 420 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.1459, allocations: 0.761 MB / 420.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1461, allocations: 135.6 kB / 420.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.1464, allocations: 274.9 kB / 421.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.1476, allocations: 1.052 MB / 422.2 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1476, allocations: 7.938 kB / 422.2 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1476, allocations: 0 / 422.2 MB, free: 224 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1476, 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.00111/0.1487, allocations: 0.772 MB / 423 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1488, allocations: 15.89 kB / 423 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005918/0.1494, allocations: 76.44 kB / 423.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.1499, allocations: 339.4 kB / 423.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1499, allocations: 29.38 kB / 423.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.15, allocations: 40.38 kB / 423.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1506, allocations: 479.6 kB / 423.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1506, allocations: 0 / 423.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.1507, allocations: 16 kB / 423.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1507, allocations: 19.97 kB / 424 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.1512, allocations: 303.7 kB / 424.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.1644, allocations: 6.731 MB / 431 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.165, allocations: 275.5 kB / 431.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.1653, allocations: 153.4 kB / 431.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.1759, allocations: 3.896 MB / 435.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.176, allocations: 38.56 kB / 435.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.464e-06/0.176, allocations: 0 / 435.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01245/0.1885, allocations: 2.454 MB / 437.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1885, allocations: 59.41 kB / 437.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.1889, allocations: 303.3 kB / 438.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.189, allocations: 29.7 kB / 438.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1891, allocations: 220 kB / 438.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1893, allocations: 169.5 kB / 438.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1894, allocations: 94.25 kB / 438.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1896, allocations: 350.7 kB / 439 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.1898, allocations: 149.1 kB / 439.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.1902, allocations: 279.7 kB / 439.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.1909, allocations: 468.3 kB / 439.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1909, allocations: 4 kB / 439.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001064/0.1919, allocations: 0.5916 MB / 440.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.192, allocations: 8.406 kB / 440.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.192, allocations: 12 kB / 440.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008182/0.2002, allocations: 1.847 MB / 442.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.2007, allocations: 111.8 kB / 442.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.2027, allocations: 2.561 MB / 445 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.2031, allocations: 12 kB / 445 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.2031, allocations: 23.98 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.0002352/0.2034, allocations: 177.7 kB / 445.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2035, allocations: 39.53 kB / 445.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.2048, allocations: 0.8553 MB / 446.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.2048, allocations: 11.92 kB / 446.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2048, allocations: 4 kB / 446.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/0.2059, allocations: 0.9535 MB / 447.1 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.208, allocations: 1.489 MB / 448.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.208, allocations: 0 / 448.6 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.2083, allocations: 83.92 kB / 448.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/0.2117, allocations: 0.6101 MB / 449.3 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.2117, allocations: 15.94 kB / 449.3 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000968/0.2127, allocations: 1.288 MB / 450.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.2127, allocations: 0 / 450.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.2143, allocations: 1.221 MB / 451.8 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2145, allocations: 116.6 kB / 451.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.2145, allocations: 12 kB / 451.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.2148, allocations: 19.94 kB / 451.9 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.2149, allocations: 19.97 kB / 451.9 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.2149, allocations: 19.98 kB / 452 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.2152, allocations: 217.9 kB / 452.2 MB, free: 488 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2152, allocations: 0 / 452.2 MB, free: 488 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008633/0.216, allocations: 227.9 kB / 452.4 MB, free: 260 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.1753/0.3914, allocations: 274.8 kB / 452.7 MB, free: 78.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.3931, allocations: 0.6978 MB / 453.4 MB, free: 78.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3931, allocations: 0.5312 kB / 453.4 MB, free: 78.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3942, allocations: 438.3 kB / 453.8 MB, free: 78.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.3955, allocations: 243.4 kB / 454 MB, free: 78.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3975, allocations: 1.217 MB / 455.2 MB, free: 77.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3979, allocations: 0.8368 MB / 456.1 MB, free: 77.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.3982, allocations: 72.67 kB / 456.2 MB, free: 77.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.3983, allocations: 36.39 kB / 456.2 MB, free: 77 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3983, allocations: 0 / 456.2 MB, free: 77 MB / 382.1 MB Notification: Performance of Templates: time 0.02263/0.4209, allocations: 12.78 MB / 469 MB, free: 72.12 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)