Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007029/0.00703, allocations: 97.62 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.001847/0.001848, allocations: 196.8 kB / 16.68 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.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001235/0.001235, allocations: 49.69 kB / 326.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09372, allocations: 46.62 MB / 373.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0363/0.1301, allocations: 37.45 MB / 410.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.1352, allocations: 4.572 MB / 415.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.1357, allocations: 11.94 kB / 415.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.1366, allocations: 294.2 kB / 415.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1377, allocations: 485.3 kB / 416 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.1422, allocations: 1.641 MB / 417.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1436, allocations: 1.265 MB / 418.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.1439, allocations: 178.6 kB / 419.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.1447, allocations: 462.5 kB / 419.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.1453, allocations: 414.3 kB / 419.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.1454, allocations: 48 kB / 420 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.1469, allocations: 0.7571 MB / 420.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.1471, allocations: 127.6 kB / 420.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.1474, allocations: 282.9 kB / 421.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.149, allocations: 1.056 MB / 422.2 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.149, allocations: 0 / 422.2 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1491, allocations: 0 / 422.2 MB, free: 236 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1491, allocations: 0 / 422.2 MB, free: 236 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001242/0.1503, allocations: 0.7905 MB / 423 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1504, allocations: 11.89 kB / 423 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.151, allocations: 80.62 kB / 423.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.1516, allocations: 351.5 kB / 423.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1516, allocations: 33.36 kB / 423.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.1517, allocations: 44.33 kB / 423.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.1524, allocations: 467.7 kB / 423.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.1524, allocations: 11.94 kB / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.1524, allocations: 19.94 kB / 424 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1525, allocations: 11.98 kB / 424 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.1529, allocations: 307.7 kB / 424.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.1659, allocations: 6.723 MB / 431 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.1664, allocations: 279.5 kB / 431.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.1666, allocations: 149.4 kB / 431.4 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.1767, allocations: 3.896 MB / 435.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1768, allocations: 34.56 kB / 435.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.1768, allocations: 0 / 435.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01208/0.1888, allocations: 2.462 MB / 437.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1889, allocations: 55.41 kB / 437.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.1893, allocations: 303.2 kB / 438.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.1894, allocations: 37.7 kB / 438.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1896, allocations: 232.5 kB / 438.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.1898, allocations: 162.6 kB / 438.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1899, allocations: 102.2 kB / 438.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.1902, allocations: 346.8 kB / 439 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.1905, allocations: 157.1 kB / 439.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.1909, allocations: 275.7 kB / 439.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.1915, allocations: 472.2 kB / 439.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1916, allocations: 0 / 439.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/0.1926, allocations: 0.5919 MB / 440.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1927, allocations: 11.94 kB / 440.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1927, allocations: 4 kB / 440.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007591/0.2003, allocations: 1.852 MB / 442.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.2007, allocations: 111.9 kB / 442.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.2028, allocations: 2.554 MB / 445 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.2032, allocations: 16 kB / 445 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.2032, allocations: 27.92 kB / 445.1 MB, free: 7.848 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.2035, allocations: 173.7 kB / 445.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.2036, allocations: 43.77 kB / 445.3 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.2048, allocations: 0.8591 MB / 446.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2048, allocations: 7.984 kB / 446.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.2048, allocations: 0 / 446.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009576/0.2058, allocations: 0.9612 MB / 447.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.2077, allocations: 1.486 MB / 448.6 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2077, allocations: 0 / 448.6 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.208, allocations: 79.89 kB / 448.7 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/0.2112, allocations: 0.6219 MB / 449.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.2113, allocations: 15.94 kB / 449.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009167/0.2122, allocations: 1.284 MB / 450.6 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2122, allocations: 0 / 450.6 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.2137, allocations: 1.229 MB / 451.8 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2138, allocations: 120.8 kB / 451.9 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.2139, allocations: 12 kB / 452 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2141, allocations: 12 kB / 452 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.2142, allocations: 31.91 kB / 452 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.2143, allocations: 19.98 kB / 452 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.2145, allocations: 209.9 kB / 452.2 MB, free: 436 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2145, allocations: 0 / 452.2 MB, free: 436 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000775/0.2153, allocations: 231.7 kB / 452.4 MB, free: 204 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1768/0.3921, allocations: 270.5 kB / 452.7 MB, free: 78.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.3938, allocations: 0.6969 MB / 453.4 MB, free: 78.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.3938, allocations: 0.5 kB / 453.4 MB, free: 78.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.3949, allocations: 435.8 kB / 453.8 MB, free: 78.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.3964, allocations: 246.2 kB / 454.1 MB, free: 78.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3982, allocations: 1.223 MB / 455.3 MB, free: 77.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3986, allocations: 0.8386 MB / 456.1 MB, free: 76.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.3989, allocations: 72.5 kB / 456.2 MB, free: 76.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.399, allocations: 41.69 kB / 456.2 MB, free: 76.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.399, allocations: 0 / 456.2 MB, free: 76.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02111/0.4201, allocations: 12.78 MB / 469 MB, free: 72.09 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)