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.006477/0.006477, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001711/0.001711, allocations: 195.6 kB / 16.67 MB, free: 5.93 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.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001156/0.001156, allocations: 50.7 kB / 326.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09195, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03435/0.1263, allocations: 37.43 MB / 410.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005878/0.1323, allocations: 4.58 MB / 415.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.1328, allocations: 8 kB / 415.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009554/0.1338, allocations: 290.2 kB / 415.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.1348, allocations: 497.3 kB / 416 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004703/0.1395, allocations: 1.649 MB / 417.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.1409, allocations: 1.276 MB / 418.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.1412, allocations: 150.7 kB / 419.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.1418, allocations: 486.5 kB / 419.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.1423, allocations: 410.4 kB / 419.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.1424, allocations: 48 kB / 420 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.1439, allocations: 0.7571 MB / 420.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1441, allocations: 131.6 kB / 420.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.1443, allocations: 286.8 kB / 421.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1456, allocations: 1.048 MB / 422.2 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1456, allocations: 3.938 kB / 422.2 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1456, allocations: 0 / 422.2 MB, free: 100 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1456, allocations: 0 / 422.2 MB, free: 100 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.001215/0.1468, allocations: 0.7759 MB / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1469, allocations: 11.89 kB / 423 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005788/0.1475, allocations: 84.44 kB / 423.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.148, allocations: 339.4 kB / 423.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.148, allocations: 33.31 kB / 423.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.1481, allocations: 40.36 kB / 423.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.1488, allocations: 471.7 kB / 423.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.1488, allocations: 0 / 423.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.1489, allocations: 24 kB / 423.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1489, allocations: 8 kB / 424 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.1493, allocations: 303.7 kB / 424.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.1628, allocations: 6.734 MB / 431 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.1634, allocations: 274.5 kB / 431.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1636, allocations: 149.4 kB / 431.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/0.1736, allocations: 3.896 MB / 435.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1737, allocations: 30.56 kB / 435.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.1737, allocations: 4 kB / 435.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01174/0.1855, allocations: 2.462 MB / 437.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1855, allocations: 55.41 kB / 437.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.1859, allocations: 295.3 kB / 438.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.1859, allocations: 45.64 kB / 438.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1861, allocations: 224 kB / 438.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1862, allocations: 169.6 kB / 438.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1863, allocations: 94.25 kB / 438.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1865, allocations: 346.8 kB / 439 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.1867, allocations: 153 kB / 439.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.1871, allocations: 275.7 kB / 439.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.1877, allocations: 476.2 kB / 439.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1877, allocations: 0 / 439.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001003/0.1887, allocations: 0.5838 MB / 440.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1887, allocations: 11.94 kB / 440.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1887, allocations: 7.984 kB / 440.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007994/0.1967, allocations: 1.848 MB / 442.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.1972, allocations: 111.8 kB / 442.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.1993, allocations: 2.554 MB / 445 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.1997, allocations: 12 kB / 445 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.1997, allocations: 28.11 kB / 445 MB, free: 7.766 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.000264/0.2, allocations: 185.6 kB / 445.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2001, allocations: 39.53 kB / 445.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.2014, allocations: 0.8513 MB / 446.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.2014, allocations: 11.98 kB / 446.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2014, allocations: 0 / 446.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.2025, allocations: 0.9614 MB / 447.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.2044, allocations: 1.486 MB / 448.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.2045, allocations: 0 / 448.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.2048, allocations: 79.89 kB / 448.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/0.2082, allocations: 0.614 MB / 449.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.2083, allocations: 19.94 kB / 449.3 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.2093, allocations: 1.28 MB / 450.6 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2093, allocations: 0 / 450.6 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.2109, allocations: 1.225 MB / 451.8 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.211, allocations: 116.6 kB / 451.9 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.2111, allocations: 8 kB / 451.9 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.2114, allocations: 15.94 kB / 451.9 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.2115, allocations: 27.95 kB / 451.9 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.2115, allocations: 16 kB / 452 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.2117, allocations: 217.9 kB / 452.2 MB, free: 364 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2117, allocations: 0 / 452.2 MB, free: 364 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008181/0.2126, allocations: 227.9 kB / 452.4 MB, free: 136 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.1888/0.4014, allocations: 267.7 kB / 452.7 MB, free: 78.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.4031, allocations: 0.7009 MB / 453.4 MB, free: 78.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4031, allocations: 4.422 kB / 453.4 MB, free: 78.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.4042, allocations: 437.7 kB / 453.8 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.001465/0.4057, allocations: 247.6 kB / 454 MB, free: 78.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.4076, allocations: 1.218 MB / 455.2 MB, free: 77.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.408, allocations: 0.8353 MB / 456.1 MB, free: 77.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.4083, allocations: 71.88 kB / 456.2 MB, free: 76.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.4084, allocations: 40.02 kB / 456.2 MB, free: 76.98 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4084, allocations: 1.594 kB / 456.2 MB, free: 76.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01978/0.4281, allocations: 12.78 MB / 469 MB, free: 72.1 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)