Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.004069/0.00407, allocations: 106 kB / 15.74 MB, free: 6.02 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.0009893/0.0009893, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001209/0.001209, allocations: 49.97 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09633, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03395/0.1303, allocations: 37.44 MB / 410.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.1359, allocations: 4.572 MB / 415.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005387/0.1365, allocations: 7.938 kB / 415.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.1376, allocations: 294.2 kB / 415.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.1389, allocations: 481.4 kB / 416 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005143/0.144, allocations: 1.653 MB / 417.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.1463, allocations: 1.269 MB / 418.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.1467, allocations: 166.7 kB / 419.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1477, allocations: 470.4 kB / 419.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.1485, allocations: 418.3 kB / 419.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1487, allocations: 48 kB / 420 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.1506, allocations: 0.7532 MB / 420.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.1508, allocations: 131.6 kB / 420.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.1512, allocations: 278.9 kB / 421.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.1533, allocations: 1.059 MB / 422.2 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1533, allocations: 0 / 422.2 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1533, allocations: 0 / 422.2 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.678e-05/0.1533, allocations: 0 / 422.2 MB, free: 128 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.001292/0.1546, allocations: 0.7945 MB / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1547, allocations: 11.89 kB / 423 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.1552, allocations: 80.62 kB / 423.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.1558, allocations: 343.6 kB / 423.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.1558, allocations: 29.38 kB / 423.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.1559, allocations: 48.33 kB / 423.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.1566, allocations: 467.7 kB / 423.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1566, allocations: 7.938 kB / 423.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1566, allocations: 16 kB / 424 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1567, allocations: 8 kB / 424 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.1571, allocations: 311.6 kB / 424.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.1702, allocations: 6.727 MB / 431 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.1708, allocations: 282.4 kB / 431.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.171, allocations: 145.4 kB / 431.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.1811, allocations: 3.896 MB / 435.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.1811, allocations: 34.56 kB / 435.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.1811, allocations: 0 / 435.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01159/0.1927, allocations: 2.466 MB / 437.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1928, allocations: 63.34 kB / 437.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.1931, allocations: 303.2 kB / 438.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1932, allocations: 33.7 kB / 438.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1933, allocations: 232.5 kB / 438.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1934, allocations: 170.6 kB / 438.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1936, allocations: 98.2 kB / 438.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1937, allocations: 346.8 kB / 439 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1939, allocations: 149.1 kB / 439.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.1943, allocations: 283.7 kB / 439.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.1949, allocations: 472.3 kB / 439.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1949, allocations: 0 / 439.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001007/0.1959, allocations: 0.5918 MB / 440.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1959, allocations: 12.41 kB / 440.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.587e-06/0.196, allocations: 8 kB / 440.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007729/0.2037, allocations: 1.84 MB / 442.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.2041, allocations: 115.8 kB / 442.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.2061, allocations: 2.554 MB / 445 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.2064, allocations: 20 kB / 445 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.2064, allocations: 20 kB / 445.1 MB, free: 7.742 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.0002197/0.2066, allocations: 173.7 kB / 445.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.2067, allocations: 43.7 kB / 445.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.2079, allocations: 0.8593 MB / 446.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2079, allocations: 7.984 kB / 446.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.208, allocations: 0 / 446.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/0.2091, allocations: 0.9612 MB / 447.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.2112, allocations: 1.486 MB / 448.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2113, allocations: 0 / 448.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.2116, allocations: 83.92 kB / 448.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00326/0.2148, allocations: 0.614 MB / 449.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.2149, allocations: 19.92 kB / 449.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009219/0.2158, allocations: 1.277 MB / 450.6 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2158, allocations: 0 / 450.6 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2174, allocations: 1.229 MB / 451.8 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.2175, allocations: 124.8 kB / 451.9 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.2176, allocations: 12.03 kB / 451.9 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.2178, allocations: 15.88 kB / 452 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2179, allocations: 27.97 kB / 452 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.2179, allocations: 19.98 kB / 452 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.2182, allocations: 213.9 kB / 452.2 MB, free: 328 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2182, allocations: 0 / 452.2 MB, free: 328 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007414/0.2189, allocations: 231.7 kB / 452.4 MB, free: 96 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.177/0.3959, allocations: 272.2 kB / 452.7 MB, free: 78.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.3976, allocations: 0.6959 MB / 453.4 MB, free: 78.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3976, allocations: 4.328 kB / 453.4 MB, free: 78.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.3986, allocations: 440.4 kB / 453.8 MB, free: 78.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.4, allocations: 235.4 kB / 454.1 MB, free: 78.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.4018, allocations: 1.234 MB / 455.3 MB, free: 77.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.4021, allocations: 0.8311 MB / 456.1 MB, free: 76.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.4024, allocations: 68.05 kB / 456.2 MB, free: 76.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.4025, allocations: 38.77 kB / 456.2 MB, free: 76.88 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4025, allocations: 5.031 kB / 456.2 MB, free: 76.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02063/0.4231, allocations: 12.78 MB / 469 MB, free: 72.02 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)