Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.006549/0.006549, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.001343/0.001343, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001308/0.001308, allocations: 50.41 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07993/0.08125, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02523/0.1065, allocations: 27.04 MB / 400.2 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.111, allocations: 4.159 MB / 404.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.1113, allocations: 11.88 kB / 404.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.112, allocations: 210.7 kB / 404.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000645/0.1127, allocations: 334.1 kB / 404.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.1164, allocations: 1.474 MB / 406.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009476/0.1174, allocations: 0.8834 MB / 407.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.1176, allocations: 120.6 kB / 407.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006126/0.1237, allocations: 4.061 MB / 411.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.1241, allocations: 266.9 kB / 411.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.1242, allocations: 32 kB / 411.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1255, allocations: 0.7259 MB / 412.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1257, allocations: 95.72 kB / 412.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.1259, allocations: 195.2 kB / 412.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1271, allocations: 0.8456 MB / 413.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1271, allocations: 0 / 413.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1271, allocations: 0 / 413.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1271, allocations: 0 / 413.6 MB, free: 8.746 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.0008818/0.128, allocations: 0.655 MB / 414.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.128, allocations: 12.03 kB / 414.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.1285, allocations: 52.55 kB / 414.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.1289, allocations: 295.7 kB / 414.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1289, allocations: 16.94 kB / 414.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.129, allocations: 36.38 kB / 414.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.1295, allocations: 334.6 kB / 415 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1295, allocations: 7.984 kB / 415 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.1295, allocations: 12 kB / 415 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1296, allocations: 8 kB / 415 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.1299, allocations: 214 kB / 415.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.1425, allocations: 5.896 MB / 421.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.1429, allocations: 174.6 kB / 421.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.143, allocations: 92.83 kB / 421.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.1535, allocations: 3.893 MB / 425.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.1535, allocations: 42.5 kB / 425.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.725e-06/0.1536, allocations: 0 / 425.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006349/0.1599, allocations: 1.41 MB / 426.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.16, allocations: 63.34 kB / 426.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.1603, allocations: 258.6 kB / 427 MB, free: 10.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1604, allocations: 29.7 kB / 427.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1605, allocations: 184.1 kB / 427.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.1606, allocations: 98.64 kB / 427.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1607, allocations: 57.7 kB / 427.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1608, allocations: 338.8 kB / 427.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.161, allocations: 99.67 kB / 427.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1612, allocations: 182.9 kB / 428 MB, free: 9.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1616, allocations: 303 kB / 428.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1616, allocations: 0 / 428.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000656/0.1622, allocations: 406.7 kB / 428.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1623, allocations: 9.094 kB / 428.7 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1623, allocations: 0 / 428.7 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00385/0.1661, allocations: 0.9341 MB / 429.6 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.1664, allocations: 71.91 kB / 429.7 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.168, allocations: 1.974 MB / 431.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1682, allocations: 12.06 kB / 431.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1682, allocations: 20.03 kB / 431.7 MB, free: 5.285 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.0001722/0.1684, allocations: 153.7 kB / 431.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.1685, allocations: 35.56 kB / 431.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.1692, allocations: 486.2 kB / 432.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1692, allocations: 8 kB / 432.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1692, allocations: 4 kB / 432.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006212/0.1698, allocations: 0.7168 MB / 433.1 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.1711, allocations: 0.9457 MB / 434.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1711, allocations: 0 / 434.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1713, allocations: 39.97 kB / 434.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.173, allocations: 328.2 kB / 434.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.173, allocations: 8 kB / 434.4 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004512/0.1735, allocations: 0.6382 MB / 435.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1735, allocations: 0 / 435.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008474/0.1743, allocations: 0.7215 MB / 435.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.1744, allocations: 100.8 kB / 435.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.1745, allocations: 8 kB / 435.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1747, allocations: 4 kB / 435.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1747, allocations: 19.97 kB / 435.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.1747, allocations: 8 kB / 435.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1749, allocations: 194 kB / 436.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.1749, allocations: 0 / 436.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.1756, allocations: 187.9 kB / 436.3 MB, free: 480 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.0005421/0.1761, allocations: 275 kB / 436.6 MB, free: 196 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.1769, allocations: 459.1 kB / 437 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1769, allocations: 0 / 437 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.1774, allocations: 231.8 kB / 437.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.1784, allocations: 180.1 kB / 437.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.1795, allocations: 0.7894 MB / 438.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1799, allocations: 0.7799 MB / 439 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.18, allocations: 50.95 kB / 439 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.1801, allocations: 35.38 kB / 439.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1801, allocations: 0 / 439.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01555/0.1957, allocations: 10.09 MB / 449.2 MB, free: 3.504 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)