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.007789/0.007789, allocations: 97.62 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.001729/0.001729, allocations: 202.2 kB / 16.68 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.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001607/0.001607, allocations: 46.64 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09506, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02562/0.1207, allocations: 27.03 MB / 400.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.1257, allocations: 4.163 MB / 404.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.1259, allocations: 4 kB / 404.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.1266, allocations: 206.7 kB / 404.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006469/0.1273, allocations: 350.1 kB / 404.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.1311, allocations: 1.47 MB / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1321, allocations: 0.891 MB / 407.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.1324, allocations: 96.67 kB / 407.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006295/0.1387, allocations: 4.061 MB / 411.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.1392, allocations: 278.9 kB / 411.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.1393, allocations: 28 kB / 411.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.1409, allocations: 0.7259 MB / 412.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1411, allocations: 99.66 kB / 412.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.1414, allocations: 195.3 kB / 412.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.1431, allocations: 0.8491 MB / 413.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1431, allocations: 0 / 413.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1431, allocations: 3.938 kB / 413.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.1431, allocations: 0 / 413.6 MB, free: 8.734 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.001095/0.1442, allocations: 0.6619 MB / 414.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1443, allocations: 8.031 kB / 414.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.1448, allocations: 64.73 kB / 414.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.1453, allocations: 287.9 kB / 414.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1454, allocations: 24.94 kB / 414.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.1454, allocations: 24.38 kB / 414.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.146, allocations: 342.6 kB / 415 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.146, allocations: 0 / 415 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.1461, allocations: 12 kB / 415 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1461, allocations: 8 kB / 415 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1465, allocations: 214 kB / 415.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.1599, allocations: 5.912 MB / 421.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.1603, allocations: 178.6 kB / 421.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1605, allocations: 88.83 kB / 421.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.1711, allocations: 3.9 MB / 425.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1712, allocations: 30.56 kB / 425.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.1712, allocations: 0 / 425.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006276/0.1775, allocations: 1.418 MB / 426.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1775, allocations: 51.41 kB / 426.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1778, allocations: 258.6 kB / 427.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1778, allocations: 33.7 kB / 427.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.178, allocations: 196.4 kB / 427.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.1781, allocations: 99.2 kB / 427.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.1782, allocations: 69.66 kB / 427.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1783, allocations: 330.8 kB / 427.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1785, allocations: 99.73 kB / 427.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.1787, allocations: 194.8 kB / 428.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.1791, allocations: 295 kB / 428.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1791, allocations: 0 / 428.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006877/0.1798, allocations: 402.8 kB / 428.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1799, allocations: 5.094 kB / 428.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1799, allocations: 4 kB / 428.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/0.1839, allocations: 0.9381 MB / 429.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.1842, allocations: 67.91 kB / 429.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.1859, allocations: 1.982 MB / 431.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1861, allocations: 8 kB / 431.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1861, allocations: 19.98 kB / 431.8 MB, free: 5.238 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.0002181/0.1864, allocations: 149.8 kB / 431.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.1864, allocations: 31.75 kB / 431.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/0.1872, allocations: 498.2 kB / 432.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.1872, allocations: 4 kB / 432.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1872, allocations: 0 / 432.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006614/0.1879, allocations: 0.713 MB / 433.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1891, allocations: 0.9496 MB / 434.1 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.1892, allocations: 0 / 434.1 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.1894, allocations: 43.92 kB / 434.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00169/0.1911, allocations: 316.4 kB / 434.5 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.1911, allocations: 8 kB / 434.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000496/0.1916, allocations: 0.6498 MB / 435.1 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.1916, allocations: 8.016 kB / 435.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.1925, allocations: 0.7139 MB / 435.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.1926, allocations: 113 kB / 435.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1926, allocations: 4 kB / 435.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1928, allocations: 7.938 kB / 436 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1928, allocations: 19.97 kB / 436 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1929, allocations: 8 kB / 436 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.1931, allocations: 189.9 kB / 436.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1931, allocations: 0 / 436.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006299/0.1937, allocations: 191.7 kB / 436.4 MB, free: 420 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.0006335/0.1943, allocations: 278.8 kB / 436.6 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007951/0.1951, allocations: 451.1 kB / 437.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1952, allocations: 4 kB / 437.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.1957, allocations: 227.8 kB / 437.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.1966, allocations: 168.2 kB / 437.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1979, allocations: 0.8081 MB / 438.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1982, allocations: 0.7799 MB / 439 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1985, allocations: 50.94 kB / 439.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.1985, allocations: 27.44 kB / 439.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1985, allocations: 4 kB / 439.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01568/0.2142, allocations: 9.987 MB / 449.1 MB, free: 3.551 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)