Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005121/0.005121, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001403/0.001403, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.44/1.44, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001201/0.001201, allocations: 54.95 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.08227, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02497/0.1073, allocations: 27.04 MB / 400.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.1117, allocations: 4.159 MB / 404.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.1119, allocations: 4 kB / 404.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.1125, allocations: 210.7 kB / 404.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.1131, allocations: 342.1 kB / 404.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.1167, allocations: 1.47 MB / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008266/0.1176, allocations: 0.8912 MB / 407.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1177, allocations: 108.7 kB / 407.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005211/0.123, allocations: 4.065 MB / 411.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1233, allocations: 270.9 kB / 411.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.1233, allocations: 32 kB / 411.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1246, allocations: 0.722 MB / 412.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1247, allocations: 99.72 kB / 412.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1249, allocations: 191.3 kB / 412.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000984/0.1259, allocations: 0.8494 MB / 413.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1259, allocations: 0 / 413.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1259, allocations: 4 kB / 413.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1259, allocations: 0 / 413.6 MB, free: 8.727 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008715/0.1268, allocations: 0.6472 MB / 414.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1268, allocations: 12.03 kB / 414.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.1273, allocations: 56.55 kB / 414.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1277, allocations: 299.7 kB / 414.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1277, allocations: 16.94 kB / 414.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.1278, allocations: 28.38 kB / 414.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.1282, allocations: 342.6 kB / 415 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1283, allocations: 0 / 415 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.1283, allocations: 12 kB / 415 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1283, allocations: 8 kB / 415 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.1286, allocations: 206 kB / 415.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.1405, allocations: 5.904 MB / 421.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.1408, allocations: 182.6 kB / 421.3 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.141, allocations: 84.83 kB / 421.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.151, allocations: 3.897 MB / 425.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1511, allocations: 42.56 kB / 425.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 3.837e-06/0.1511, allocations: 0 / 425.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006011/0.1571, allocations: 1.41 MB / 426.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1571, allocations: 55.41 kB / 426.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1574, allocations: 262.5 kB / 427 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1575, allocations: 29.7 kB / 427.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1576, allocations: 188 kB / 427.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.1577, allocations: 94.64 kB / 427.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.1578, allocations: 61.7 kB / 427.4 MB, free: 9.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1579, allocations: 342.8 kB / 427.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.158, allocations: 91.73 kB / 427.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.1583, allocations: 186.8 kB / 428 MB, free: 9.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.1587, allocations: 303 kB / 428.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1587, allocations: 0 / 428.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000642/0.1593, allocations: 402.6 kB / 428.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1594, allocations: 9.094 kB / 428.7 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1594, allocations: 0 / 428.7 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/0.1633, allocations: 0.9381 MB / 429.7 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.1636, allocations: 67.91 kB / 429.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.1652, allocations: 1.974 MB / 431.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.1654, allocations: 12 kB / 431.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1654, allocations: 15.98 kB / 431.7 MB, free: 5.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.1656, allocations: 153.7 kB / 431.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.1657, allocations: 35.56 kB / 431.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000708/0.1664, allocations: 490.2 kB / 432.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1664, allocations: 4 kB / 432.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1664, allocations: 0 / 432.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006033/0.167, allocations: 0.713 MB / 433.1 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.1683, allocations: 0.9574 MB / 434.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1683, allocations: 0 / 434.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.1685, allocations: 48 kB / 434.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.1701, allocations: 316.2 kB / 434.4 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.1701, allocations: 4 kB / 434.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004851/0.1706, allocations: 0.6499 MB / 435.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1706, allocations: 0 / 435.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.1715, allocations: 0.7215 MB / 435.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.1716, allocations: 100.8 kB / 435.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.1716, allocations: 8 kB / 435.9 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.1718, allocations: 4 kB / 435.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1718, allocations: 20.09 kB / 435.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.1718, allocations: 15.98 kB / 435.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.172, allocations: 182 kB / 436.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.172, allocations: 0 / 436.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006151/0.1726, allocations: 191.9 kB / 436.3 MB, free: 464 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005666/0.1732, allocations: 267 kB / 436.6 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007669/0.174, allocations: 458.4 kB / 437 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.174, allocations: 0 / 437 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.1745, allocations: 240.6 kB / 437.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.1754, allocations: 180.1 kB / 437.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1767, allocations: 0.8011 MB / 438.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.177, allocations: 0.776 MB / 439 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.1772, allocations: 46.95 kB / 439 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.1773, allocations: 23.44 kB / 439.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1773, allocations: 4 kB / 439.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01612/0.1934, allocations: 9.983 MB / 449.1 MB, free: 3.598 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)