Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007846/0.007846, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001791/0.001791, allocations: 183.8 kB / 16.67 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.352/1.352, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001207/0.001207, allocations: 50.89 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09818, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04335/0.1416, allocations: 37.44 MB / 410.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007887/0.1495, allocations: 4.572 MB / 415.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.15, allocations: 8 kB / 415.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.1513, allocations: 290.2 kB / 415.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.1526, allocations: 489.3 kB / 416 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007713/0.1603, allocations: 1.645 MB / 417.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.1628, allocations: 1.273 MB / 418.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.1632, allocations: 162.6 kB / 419 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1642, allocations: 482.5 kB / 419.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007918/0.1651, allocations: 410.4 kB / 419.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1652, allocations: 44 kB / 420 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.1677, allocations: 0.761 MB / 420.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1679, allocations: 127.6 kB / 420.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.1684, allocations: 282.9 kB / 421.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.1703, allocations: 1.048 MB / 422.2 MB, free: 136 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1704, allocations: 4 kB / 422.2 MB, free: 132 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1704, allocations: 0 / 422.2 MB, free: 132 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1704, allocations: 0 / 422.2 MB, free: 132 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.001747/0.1722, allocations: 0.7798 MB / 423 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1722, allocations: 11.89 kB / 423 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.1734, allocations: 84.38 kB / 423.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008065/0.1743, allocations: 339.4 kB / 423.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.1743, allocations: 37.31 kB / 423.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.1744, allocations: 36.38 kB / 423.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1756, allocations: 471.7 kB / 423.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.1757, allocations: 0 / 423.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.1757, allocations: 20 kB / 423.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.1758, allocations: 11.98 kB / 423.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.1766, allocations: 311.6 kB / 424.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.2005, allocations: 6.727 MB / 431 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.2013, allocations: 279.5 kB / 431.3 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.2017, allocations: 149.4 kB / 431.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01957/0.2213, allocations: 3.885 MB / 435.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.2214, allocations: 42.55 kB / 435.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 3.637e-06/0.2214, allocations: 0 / 435.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.02245/0.2439, allocations: 2.462 MB / 437.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.244, allocations: 55.41 kB / 437.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.2446, allocations: 299.3 kB / 438.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.2447, allocations: 41.64 kB / 438.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.2449, allocations: 228 kB / 438.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.2451, allocations: 165.6 kB / 438.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.2453, allocations: 94.25 kB / 438.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2455, allocations: 346.8 kB / 439 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.246, allocations: 149.1 kB / 439.1 MB, free: 14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.2466, allocations: 279.7 kB / 439.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.2478, allocations: 472.2 kB / 439.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2478, allocations: 0 / 439.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001871/0.2497, allocations: 0.5877 MB / 440.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.2497, allocations: 15.88 kB / 440.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2498, allocations: 4 kB / 440.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/0.264, allocations: 1.844 MB / 442.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.2649, allocations: 115.8 kB / 442.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.2681, allocations: 2.561 MB / 445 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.2686, allocations: 12 kB / 445 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.2687, allocations: 24 kB / 445 MB, free: 7.789 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.0004048/0.2691, allocations: 181.8 kB / 445.2 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.2693, allocations: 43.47 kB / 445.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.2714, allocations: 0.8552 MB / 446.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.2714, allocations: 7.984 kB / 446.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2714, allocations: 0 / 446.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/0.2732, allocations: 0.9574 MB / 447.1 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.2767, allocations: 1.486 MB / 448.6 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.2767, allocations: 0 / 448.6 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.2773, allocations: 79.89 kB / 448.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/0.2834, allocations: 0.6101 MB / 449.2 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.2835, allocations: 23.92 kB / 449.3 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.285, allocations: 1.281 MB / 450.5 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.285, allocations: 0 / 450.5 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.2878, allocations: 1.221 MB / 451.8 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.288, allocations: 124.6 kB / 451.9 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/0.2881, allocations: 8.031 kB / 451.9 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.2885, allocations: 15.94 kB / 451.9 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.2886, allocations: 27.97 kB / 451.9 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.2887, allocations: 19.98 kB / 452 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003707/0.2891, allocations: 209.9 kB / 452.2 MB, free: 392 kB / 382.1 MB Notification: Performance of sort global known variables: time 4e-07/0.2891, allocations: 4 kB / 452.2 MB, free: 388 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001273/0.2904, allocations: 231.9 kB / 452.4 MB, free: 156 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.1794/0.4699, allocations: 259.2 kB / 452.6 MB, free: 78.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.4715, allocations: 0.7049 MB / 453.4 MB, free: 78.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4715, allocations: 4.359 kB / 453.4 MB, free: 78.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.4726, allocations: 435.5 kB / 453.8 MB, free: 78.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.4741, allocations: 243.2 kB / 454 MB, free: 78.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.476, allocations: 1.226 MB / 455.2 MB, free: 77.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.4763, allocations: 0.8307 MB / 456.1 MB, free: 76.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.4766, allocations: 71.17 kB / 456.1 MB, free: 76.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.4767, allocations: 37.69 kB / 456.2 MB, free: 76.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4767, allocations: 0 / 456.2 MB, free: 76.97 MB / 382.1 MB Notification: Performance of Templates: time 0.01926/0.496, allocations: 12.93 MB / 469.1 MB, free: 71.97 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)