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.005381/0.005381, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001167/0.001167, allocations: 189.8 kB / 16.67 MB, free: 6.391 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.345/1.345, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.001144/0.001144, allocations: 50.84 kB / 326.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08686, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02577/0.1127, allocations: 27.03 MB / 400.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.1176, allocations: 4.167 MB / 404.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.118, allocations: 4 kB / 404.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.1188, allocations: 206.7 kB / 404.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.1196, allocations: 342.1 kB / 404.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.124, allocations: 1.47 MB / 406.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.1252, allocations: 0.8912 MB / 407.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1254, allocations: 108.7 kB / 407.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/0.1317, allocations: 4.061 MB / 411.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.1322, allocations: 274.9 kB / 411.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.17e-05/0.1323, allocations: 32 kB / 411.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.1339, allocations: 0.722 MB / 412.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1341, allocations: 99.7 kB / 412.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.1343, allocations: 191.3 kB / 412.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1359, allocations: 0.8456 MB / 413.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1359, allocations: 0 / 413.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1359, allocations: 4 kB / 413.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.136, 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.001194/0.1372, allocations: 0.6511 MB / 414.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1372, allocations: 8.031 kB / 414.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.1377, allocations: 60.53 kB / 414.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.1383, allocations: 295.7 kB / 414.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1383, allocations: 20.94 kB / 414.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.1384, allocations: 24.38 kB / 414.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.139, allocations: 346.6 kB / 415 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.139, allocations: 0 / 415 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.1391, allocations: 12 kB / 415 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1391, allocations: 8 kB / 415 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.1394, allocations: 206 kB / 415.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.1526, allocations: 5.896 MB / 421.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.153, allocations: 190.5 kB / 421.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1531, allocations: 80.84 kB / 421.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.1637, allocations: 3.897 MB / 425.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.1638, allocations: 42.56 kB / 425.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.465e-06/0.1638, allocations: 0 / 425.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006559/0.1704, allocations: 1.414 MB / 426.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1705, allocations: 55.41 kB / 426.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1707, allocations: 258.6 kB / 427 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1708, allocations: 29.7 kB / 427.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1709, allocations: 184.1 kB / 427.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.171, allocations: 94.59 kB / 427.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.1711, allocations: 61.7 kB / 427.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1713, allocations: 346.8 kB / 427.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1714, allocations: 95.69 kB / 427.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1717, allocations: 182.9 kB / 428 MB, free: 9.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.1721, allocations: 299 kB / 428.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1721, allocations: 4 kB / 428.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007097/0.1728, allocations: 394.6 kB / 428.7 MB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1728, allocations: 9.094 kB / 428.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1728, allocations: 7.938 kB / 428.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/0.1772, allocations: 0.9342 MB / 429.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.1775, allocations: 67.91 kB / 429.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.1792, allocations: 1.989 MB / 431.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.1794, allocations: 12 kB / 431.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1794, allocations: 12 kB / 431.7 MB, free: 5.293 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.0001863/0.1796, allocations: 153.7 kB / 431.9 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.1797, allocations: 35.56 kB / 431.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007307/0.1804, allocations: 490.2 kB / 432.4 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.1805, allocations: 7.984 kB / 432.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1805, allocations: 0 / 432.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006541/0.1811, allocations: 0.713 MB / 433.1 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.1825, allocations: 0.9418 MB / 434.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1825, allocations: 3.938 kB / 434.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.1827, allocations: 47.97 kB / 434.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.1845, allocations: 316.3 kB / 434.4 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.1845, allocations: 11.98 kB / 434.4 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004932/0.185, allocations: 0.6382 MB / 435.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1851, allocations: 4.062 kB / 435.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/0.186, allocations: 0.7176 MB / 435.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1861, allocations: 108.7 kB / 435.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.1862, allocations: 8 kB / 435.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.1864, allocations: 4 kB / 435.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1864, allocations: 16.05 kB / 435.9 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.1865, allocations: 15.98 kB / 435.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1867, allocations: 182 kB / 436.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.1867, allocations: 0 / 436.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000852/0.1876, allocations: 191.9 kB / 436.3 MB, free: 488 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.000824/0.1884, allocations: 275 kB / 436.6 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1895, allocations: 462.5 kB / 437 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.1896, allocations: 4 kB / 437 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006171/0.1902, allocations: 232.5 kB / 437.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.1913, allocations: 172.1 kB / 437.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1927, allocations: 0.7972 MB / 438.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1931, allocations: 0.7721 MB / 439 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.1933, allocations: 54.94 kB / 439 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.1934, allocations: 31.42 kB / 439.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.1934, allocations: 0 / 439.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01659/0.21, allocations: 9.995 MB / 449.1 MB, free: 3.609 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)