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.004844/0.004844, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001115/0.001115, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.504 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.001128/0.001128, allocations: 50.64 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07509/0.07623, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02503/0.1013, allocations: 27.03 MB / 400.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.1063, allocations: 4.171 MB / 404.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.1066, allocations: 4 kB / 404.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007824/0.1075, allocations: 206.7 kB / 404.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008588/0.1083, allocations: 338.1 kB / 404.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004208/0.1126, allocations: 1.478 MB / 406.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1137, allocations: 0.8911 MB / 407.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1139, allocations: 100.7 kB / 407.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006167/0.1201, allocations: 4.049 MB / 411.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.1206, allocations: 278.9 kB / 411.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.1206, allocations: 32 kB / 411.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.1221, allocations: 0.7259 MB / 412.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1222, allocations: 95.67 kB / 412.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.1225, allocations: 191.2 kB / 412.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.1238, allocations: 0.8495 MB / 413.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1239, allocations: 0 / 413.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1239, allocations: 0 / 413.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1239, allocations: 4 kB / 413.6 MB, free: 8.75 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.00103/0.1249, allocations: 0.6549 MB / 414.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.125, allocations: 12.03 kB / 414.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.1255, allocations: 52.55 kB / 414.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.1259, allocations: 287.7 kB / 414.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.126, allocations: 24.94 kB / 414.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.126, allocations: 32.38 kB / 414.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004922/0.1265, allocations: 338.6 kB / 415 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1266, allocations: 4 kB / 415 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.1266, allocations: 12 kB / 415 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1266, allocations: 8 kB / 415 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.1269, allocations: 210 kB / 415.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.14, allocations: 5.9 MB / 421.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.1403, allocations: 186.6 kB / 421.3 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1405, allocations: 88.83 kB / 421.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.1511, allocations: 3.889 MB / 425.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.1511, allocations: 34.56 kB / 425.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.023e-06/0.1511, allocations: 4 kB / 425.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006305/0.1574, allocations: 1.414 MB / 426.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1575, allocations: 55.41 kB / 426.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1578, allocations: 258.6 kB / 427 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1578, allocations: 29.7 kB / 427.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1579, allocations: 188 kB / 427.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.158, allocations: 94.64 kB / 427.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.1581, allocations: 61.7 kB / 427.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1582, allocations: 338.8 kB / 427.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1584, allocations: 103.7 kB / 427.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.1586, allocations: 182.8 kB / 428 MB, free: 9.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.159, allocations: 303 kB / 428.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.159, allocations: 0 / 428.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006975/0.1597, allocations: 402.7 kB / 428.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1598, allocations: 8 kB / 428.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1598, allocations: 0 / 428.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/0.164, allocations: 0.938 MB / 429.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.1643, allocations: 67.91 kB / 429.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.1658, allocations: 1.974 MB / 431.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.166, allocations: 15.94 kB / 431.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.166, allocations: 19.98 kB / 431.7 MB, free: 5.289 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.0001615/0.1662, allocations: 149.7 kB / 431.9 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.1663, allocations: 35.56 kB / 431.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007/0.167, allocations: 482.3 kB / 432.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.167, allocations: 15.94 kB / 432.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.167, allocations: 0 / 432.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006611/0.1677, allocations: 0.7091 MB / 433.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1689, allocations: 0.9496 MB / 434 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1689, allocations: 4 kB / 434.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.1691, allocations: 39.92 kB / 434.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.1708, allocations: 328.3 kB / 434.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.1709, allocations: 4 kB / 434.4 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004737/0.1713, allocations: 0.6421 MB / 435.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1714, allocations: 8 kB / 435.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000903/0.1723, allocations: 0.7137 MB / 435.8 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.1724, allocations: 100.8 kB / 435.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.1724, allocations: 8 kB / 435.9 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1726, allocations: 4 kB / 435.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1726, allocations: 24.03 kB / 435.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1727, allocations: 8 kB / 435.9 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1728, allocations: 190 kB / 436.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1729, allocations: 3.938 kB / 436.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006978/0.1736, allocations: 191.8 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.0005462/0.1741, allocations: 263.1 kB / 436.6 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.1749, allocations: 458.7 kB / 437 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1749, allocations: 0 / 437 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.1754, allocations: 228.3 kB / 437.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.1763, allocations: 176.1 kB / 437.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1775, allocations: 0.801 MB / 438.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1778, allocations: 0.7799 MB / 439 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.178, allocations: 54.94 kB / 439 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.178, allocations: 27.44 kB / 439.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.178, allocations: 0 / 439.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01533/0.1934, allocations: 9.995 MB / 449.1 MB, free: 3.613 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)