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.007422/0.007422, allocations: 97.31 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.001573/0.001573, allocations: 184.3 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.404/1.404, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001192/0.001192, allocations: 41.53 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08574, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02692/0.1127, allocations: 27.04 MB / 400.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004681/0.1174, allocations: 4.159 MB / 404.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.1177, allocations: 4 kB / 404.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.1184, allocations: 202.7 kB / 404.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000787/0.1192, allocations: 350.1 kB / 404.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.1235, allocations: 1.466 MB / 406.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1245, allocations: 0.8911 MB / 407.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.1247, allocations: 100.7 kB / 407.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/0.1307, allocations: 4.053 MB / 411.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.1312, allocations: 270.9 kB / 411.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/0.1314, allocations: 35.98 kB / 411.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.133, allocations: 0.7259 MB / 412.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1332, allocations: 95.72 kB / 412.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.1335, allocations: 199.3 kB / 412.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.1354, allocations: 0.8491 MB / 413.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1354, allocations: 0 / 413.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1354, allocations: 0 / 413.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1355, allocations: 0 / 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.001144/0.1366, allocations: 0.658 MB / 414.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1367, allocations: 8.031 kB / 414.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004762/0.1371, allocations: 68.72 kB / 414.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.1376, allocations: 287.9 kB / 414.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1376, allocations: 20.94 kB / 414.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.1377, allocations: 24.38 kB / 414.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.1382, allocations: 346.6 kB / 415 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1382, allocations: 0 / 415 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.1382, allocations: 12 kB / 415 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.1382, allocations: 8 kB / 415 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.1386, allocations: 210 kB / 415.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.1508, allocations: 5.916 MB / 421.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.1511, allocations: 182.6 kB / 421.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1513, allocations: 88.83 kB / 421.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.1616, allocations: 3.904 MB / 425.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1616, allocations: 34.56 kB / 425.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.835e-06/0.1616, allocations: 0 / 425.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006474/0.1681, allocations: 1.414 MB / 426.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1682, allocations: 55.41 kB / 426.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.1685, allocations: 258.6 kB / 427.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1686, allocations: 33.7 kB / 427.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1687, allocations: 188.4 kB / 427.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.106e-05/0.1688, allocations: 95.22 kB / 427.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.1689, allocations: 73.64 kB / 427.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.169, allocations: 334.8 kB / 427.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1692, allocations: 95.69 kB / 427.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.1694, allocations: 194.8 kB / 428.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.1698, allocations: 295 kB / 428.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1698, allocations: 0 / 428.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006842/0.1705, allocations: 398.8 kB / 428.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1705, allocations: 5.094 kB / 428.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1705, allocations: 4 kB / 428.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/0.1745, allocations: 0.942 MB / 429.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.1748, allocations: 63.91 kB / 429.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.1763, allocations: 1.978 MB / 431.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1765, allocations: 16 kB / 431.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1765, allocations: 12 kB / 431.7 MB, free: 5.258 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.0001604/0.1767, allocations: 157.8 kB / 431.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.1768, allocations: 31.75 kB / 431.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/0.1775, allocations: 490.2 kB / 432.4 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.1775, allocations: 7.984 kB / 432.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1775, allocations: 0 / 432.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006343/0.1782, allocations: 0.713 MB / 433.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.1794, allocations: 0.9497 MB / 434.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.1795, allocations: 0 / 434.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.1796, allocations: 51.91 kB / 434.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.1813, allocations: 308.4 kB / 434.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.1813, allocations: 11.98 kB / 434.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004602/0.1818, allocations: 0.6537 MB / 435.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1818, allocations: 4.031 kB / 435.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.1827, allocations: 0.7178 MB / 435.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.1828, allocations: 113 kB / 435.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.1828, allocations: 4 kB / 435.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.183, allocations: 8 kB / 435.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1831, allocations: 15.92 kB / 436 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1831, allocations: 15.98 kB / 436 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1833, allocations: 182 kB / 436.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1833, allocations: 0 / 436.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006592/0.1839, allocations: 191.7 kB / 436.3 MB, free: 432 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.000626/0.1846, allocations: 266.8 kB / 436.6 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007842/0.1854, allocations: 455.1 kB / 437 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1854, allocations: 0 / 437 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.1859, allocations: 235.8 kB / 437.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/0.1868, allocations: 176.2 kB / 437.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.188, allocations: 0.8043 MB / 438.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1883, allocations: 0.7721 MB / 439 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.1885, allocations: 50.94 kB / 439.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.1886, allocations: 27.44 kB / 439.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1886, allocations: 4 kB / 439.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01653/0.2052, allocations: 9.987 MB / 449.1 MB, free: 3.57 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)