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.00458/0.00458, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.001091/0.001091, allocations: 190.8 kB / 16.67 MB, free: 6.348 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.338/1.338, allocations: 205.1 MB / 222.6 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.001215/0.001215, allocations: 49.81 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09424, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03476/0.129, allocations: 37.44 MB / 410.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.1346, allocations: 4.584 MB / 415.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.135, allocations: 8 kB / 415.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.136, allocations: 290.2 kB / 415.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.1371, allocations: 485.3 kB / 416 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.1417, allocations: 1.657 MB / 417.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.1433, allocations: 1.265 MB / 418.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.1437, allocations: 170.6 kB / 419.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.1443, allocations: 478.5 kB / 419.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004788/0.1447, allocations: 410.4 kB / 419.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.1448, allocations: 48 kB / 420 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1462, allocations: 0.7532 MB / 420.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1464, allocations: 135.5 kB / 420.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.1467, allocations: 278.9 kB / 421.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.148, allocations: 1.059 MB / 422.2 MB, free: 108 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1481, allocations: 0 / 422.2 MB, free: 108 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1481, allocations: 4 kB / 422.2 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.1481, allocations: 0 / 422.2 MB, free: 104 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.001302/0.1494, allocations: 0.7907 MB / 423 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1495, allocations: 11.89 kB / 423 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.15, allocations: 80.62 kB / 423.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.1506, allocations: 347.6 kB / 423.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.1506, allocations: 33.36 kB / 423.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1507, allocations: 40.33 kB / 423.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.1514, allocations: 475.6 kB / 424 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1514, allocations: 0 / 424 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.1514, allocations: 20 kB / 424 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.1515, allocations: 8 kB / 424 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.1519, allocations: 311.6 kB / 424.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.1652, allocations: 6.723 MB / 431 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1657, allocations: 286.4 kB / 431.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.166, allocations: 149.4 kB / 431.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.1762, allocations: 3.885 MB / 435.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1762, allocations: 38.56 kB / 435.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.1763, allocations: 0 / 435.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01169/0.1879, allocations: 2.466 MB / 437.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.188, allocations: 55.41 kB / 437.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.1884, allocations: 307.2 kB / 438.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1884, allocations: 37.7 kB / 438.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1886, allocations: 232.5 kB / 438.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1887, allocations: 166.6 kB / 438.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1888, allocations: 98.2 kB / 438.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.189, allocations: 346.8 kB / 439 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.1892, allocations: 153.1 kB / 439.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.1896, allocations: 279.7 kB / 439.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.1902, allocations: 468.3 kB / 439.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1902, allocations: 0 / 439.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001005/0.1912, allocations: 0.5918 MB / 440.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1912, allocations: 15.84 kB / 440.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1913, allocations: 8.469 kB / 440.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007845/0.1991, allocations: 1.847 MB / 442.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.1995, allocations: 111.8 kB / 442.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.2015, allocations: 2.558 MB / 445 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.2018, allocations: 20.12 kB / 445.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.2018, allocations: 20 kB / 445.1 MB, free: 7.719 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.0002124/0.202, allocations: 177.6 kB / 445.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.2021, allocations: 43.7 kB / 445.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.2033, allocations: 0.8515 MB / 446.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.2033, allocations: 4 kB / 446.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2033, allocations: 4 kB / 446.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009678/0.2043, allocations: 0.9651 MB / 447.1 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.2062, allocations: 1.49 MB / 448.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2062, allocations: 0 / 448.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.2065, allocations: 75.89 kB / 448.7 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003285/0.2098, allocations: 0.6181 MB / 449.3 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.2099, allocations: 19.92 kB / 449.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009341/0.2108, allocations: 1.277 MB / 450.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2108, allocations: 0 / 450.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.2123, allocations: 1.237 MB / 451.8 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.2125, allocations: 116.8 kB / 452 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.2125, allocations: 15.97 kB / 452 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.2128, allocations: 15.94 kB / 452 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.2128, allocations: 27.97 kB / 452 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.2129, allocations: 19.98 kB / 452 MB, free: 0.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.2131, allocations: 209.9 kB / 452.2 MB, free: 304 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2131, allocations: 0 / 452.2 MB, free: 304 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007625/0.2139, allocations: 235.7 kB / 452.5 MB, free: 68 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.1724/0.3862, allocations: 263.6 kB / 452.7 MB, free: 78.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.3884, allocations: 0.6962 MB / 453.4 MB, free: 78.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3884, allocations: 4.328 kB / 453.4 MB, free: 78.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.3897, allocations: 441.8 kB / 453.9 MB, free: 78.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.3913, allocations: 233 kB / 454.1 MB, free: 78.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.3934, allocations: 1.227 MB / 455.3 MB, free: 77.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3938, allocations: 0.835 MB / 456.1 MB, free: 77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004065/0.3942, allocations: 76.02 kB / 456.2 MB, free: 76.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3943, allocations: 40.09 kB / 456.3 MB, free: 76.98 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3943, allocations: 0 / 456.3 MB, free: 76.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02401/0.4184, allocations: 12.78 MB / 469 MB, free: 72.1 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)