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.00715/0.00715, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001263/0.001263, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.49/1.49, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.001172/0.001172, allocations: 45.42 kB / 326.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.08037, allocations: 46.63 MB / 373.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02569/0.1061, allocations: 27.04 MB / 400.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.1108, allocations: 4.155 MB / 404.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.111, allocations: 4 kB / 404.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.1117, allocations: 206.7 kB / 404.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005955/0.1123, allocations: 350.1 kB / 404.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.1161, allocations: 1.47 MB / 406.4 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1171, allocations: 0.8873 MB / 407.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1173, allocations: 100.7 kB / 407.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005755/0.1231, allocations: 4.057 MB / 411.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.1234, allocations: 274.9 kB / 411.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.1235, allocations: 32 kB / 411.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.1249, allocations: 0.7298 MB / 412.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.125, allocations: 87.73 kB / 412.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.1252, allocations: 207.2 kB / 412.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1264, allocations: 0.853 MB / 413.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1264, allocations: 0 / 413.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1264, allocations: 0 / 413.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1264, allocations: 0 / 413.6 MB, free: 8.824 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.0009952/0.1274, allocations: 0.658 MB / 414.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1275, allocations: 8.031 kB / 414.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.128, allocations: 64.73 kB / 414.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.1285, allocations: 295.8 kB / 414.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1285, allocations: 20.94 kB / 414.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.1286, allocations: 24.38 kB / 414.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.1291, allocations: 342.6 kB / 415 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1291, allocations: 0 / 415 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.1291, allocations: 12 kB / 415 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1291, allocations: 8 kB / 415 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.1295, allocations: 210 kB / 415.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.1422, allocations: 5.916 MB / 421.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.1426, allocations: 178.6 kB / 421.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1427, allocations: 88.83 kB / 421.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.1532, allocations: 3.9 MB / 425.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.1533, allocations: 34.56 kB / 425.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.1533, allocations: 0 / 425.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0062/0.1595, allocations: 1.41 MB / 426.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1595, allocations: 55.41 kB / 426.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1598, allocations: 258.6 kB / 427.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1599, allocations: 33.7 kB / 427.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.16, allocations: 196.3 kB / 427.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.1601, allocations: 99.2 kB / 427.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1602, allocations: 73.59 kB / 427.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1603, allocations: 334.8 kB / 427.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1605, allocations: 95.73 kB / 427.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.1607, allocations: 186.9 kB / 428.1 MB, free: 9.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.1611, allocations: 299 kB / 428.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1611, allocations: 0 / 428.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006725/0.1618, allocations: 398.8 kB / 428.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1618, allocations: 9.031 kB / 428.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1618, allocations: 4 kB / 428.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/0.1657, allocations: 0.9381 MB / 429.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.166, allocations: 67.91 kB / 429.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.1675, allocations: 1.978 MB / 431.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.1677, allocations: 12.03 kB / 431.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1678, allocations: 15.98 kB / 431.8 MB, free: 5.332 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.0001653/0.1679, allocations: 157.8 kB / 431.9 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.168, allocations: 31.75 kB / 432 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/0.1687, allocations: 494.2 kB / 432.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1687, allocations: 0 / 432.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1687, allocations: 4 kB / 432.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006552/0.1694, allocations: 0.713 MB / 433.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.1707, allocations: 0.9535 MB / 434.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1707, allocations: 0 / 434.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.1709, allocations: 43.98 kB / 434.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.1726, allocations: 316.3 kB / 434.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1726, allocations: 8 kB / 434.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004983/0.1731, allocations: 0.6498 MB / 435.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1731, allocations: 0 / 435.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.174, allocations: 0.7256 MB / 435.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.1741, allocations: 105.1 kB / 435.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.1742, allocations: 11.98 kB / 436 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.1744, allocations: 8 kB / 436 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1744, allocations: 15.97 kB / 436 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.1744, allocations: 12 kB / 436 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1746, allocations: 185.9 kB / 436.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1746, allocations: 0 / 436.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006508/0.1753, allocations: 191.7 kB / 436.4 MB, free: 0.4961 MB / 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.0006241/0.1759, allocations: 270.8 kB / 436.6 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.1767, allocations: 451.2 kB / 437.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1768, allocations: 0 / 437.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.1773, allocations: 231.8 kB / 437.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/0.1782, allocations: 168.2 kB / 437.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1795, allocations: 0.8042 MB / 438.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1799, allocations: 0.7799 MB / 439 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.1801, allocations: 50.94 kB / 439.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.1801, allocations: 31.38 kB / 439.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1801, allocations: 0 / 439.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Templates: time 0.0159/0.196, allocations: 9.995 MB / 449.1 MB, free: 3.641 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)