Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001114/0.001114, allocations: 105.6 kB / 16.62 MB, free: 6.809 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.001063/0.001063, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.373/1.373, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001218/0.001218, allocations: 51.92 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08504, allocations: 46.64 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02597/0.1111, allocations: 26.96 MB / 353.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.1159, allocations: 4.14 MB / 357.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.1164, allocations: 7.875 kB / 357.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008994/0.1174, allocations: 175.1 kB / 357.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008473/0.1183, allocations: 318.4 kB / 357.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.1223, allocations: 1.308 MB / 359 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009956/0.1233, allocations: 0.8835 MB / 359.9 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.1235, allocations: 96.67 kB / 360 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/0.1299, allocations: 4.348 MB / 364.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.1304, allocations: 286.9 kB / 364.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.1304, allocations: 32 kB / 364.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.1317, allocations: 0.7297 MB / 365.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1319, allocations: 95.7 kB / 365.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.1321, allocations: 191.3 kB / 365.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.1333, allocations: 0.8573 MB / 366.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1333, allocations: 0 / 366.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1333, allocations: 0 / 366.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1333, allocations: 0 / 366.5 MB, free: 12.24 MB / 318.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.0009405/0.1343, allocations: 0.6393 MB / 367.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1343, allocations: 12.03 kB / 367.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004517/0.1348, allocations: 56.53 kB / 367.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1351, allocations: 295.7 kB / 367.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1352, allocations: 16.94 kB / 367.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.1352, allocations: 28.38 kB / 367.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.1357, allocations: 342.6 kB / 367.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1358, allocations: 0 / 367.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.1358, allocations: 12 kB / 367.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1358, allocations: 12 kB / 367.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.1362, allocations: 206 kB / 368.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.1498, allocations: 5.919 MB / 374.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.1501, allocations: 174.6 kB / 374.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1503, allocations: 88.83 kB / 374.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1542/0.3045, allocations: 3.872 MB / 378.2 MB, free: 58.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3046, allocations: 37.78 kB / 378.2 MB, free: 58.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.544e-06/0.3046, allocations: 3.719 kB / 378.2 MB, free: 58.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006457/0.3111, allocations: 1.404 MB / 379.6 MB, free: 57.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.3111, allocations: 61.28 kB / 379.7 MB, free: 57.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3114, allocations: 261.2 kB / 380 MB, free: 57.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3115, allocations: 30.64 kB / 380 MB, free: 57.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3116, allocations: 190.4 kB / 380.2 MB, free: 57.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.3117, allocations: 96.91 kB / 380.3 MB, free: 57.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3118, allocations: 63.97 kB / 380.3 MB, free: 57.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.3119, allocations: 335.1 kB / 380.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.312, allocations: 92.62 kB / 380.7 MB, free: 56.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.3123, allocations: 195.3 kB / 380.9 MB, free: 56.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.3126, allocations: 302.3 kB / 381.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3126, allocations: 1.969 kB / 381.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006643/0.3133, allocations: 394.9 kB / 381.6 MB, free: 56.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3133, allocations: 6.406 kB / 381.6 MB, free: 56.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3134, allocations: 2.906 kB / 381.6 MB, free: 56.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004612/0.318, allocations: 0.9403 MB / 382.6 MB, free: 56.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.3183, allocations: 73.84 kB / 382.6 MB, free: 56.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3196, allocations: 1.982 MB / 384.6 MB, free: 54.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3199, allocations: 25.38 kB / 384.6 MB, free: 54.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.3199, allocations: 13.58 kB / 384.7 MB, free: 54.4 MB / 318.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.0001788/0.3201, allocations: 160.3 kB / 384.8 MB, free: 54.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.3202, allocations: 25.84 kB / 384.8 MB, free: 54.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.3209, allocations: 499.5 kB / 385.3 MB, free: 54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3209, allocations: 12.16 kB / 385.3 MB, free: 54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3209, allocations: 0 / 385.3 MB, free: 54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005506/0.3215, allocations: 0.7124 MB / 386.1 MB, free: 53.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.3228, allocations: 0.9441 MB / 387 MB, free: 52.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3228, allocations: 0 / 387 MB, free: 52.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.323, allocations: 52.61 kB / 387 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.3248, allocations: 323.8 kB / 387.4 MB, free: 52.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.3248, allocations: 8.062 kB / 387.4 MB, free: 52.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004498/0.3253, allocations: 0.643 MB / 388 MB, free: 52.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3253, allocations: 5.219 kB / 388 MB, free: 52.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/0.3263, allocations: 0.716 MB / 388.7 MB, free: 51.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3264, allocations: 106.3 kB / 388.8 MB, free: 51.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.3265, allocations: 7.172 kB / 388.8 MB, free: 51.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3267, allocations: 20.81 kB / 388.9 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3268, allocations: 26.36 kB / 388.9 MB, free: 51.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.3268, allocations: 9.438 kB / 388.9 MB, free: 51.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.327, allocations: 186.2 kB / 389.1 MB, free: 51.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.327, allocations: 0 / 389.1 MB, free: 51.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008468/0.3279, allocations: 188.3 kB / 389.3 MB, free: 51.47 MB / 318.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.0009134/0.3288, allocations: 268.3 kB / 389.5 MB, free: 51.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009094/0.3297, allocations: 469.1 kB / 390 MB, free: 51.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3298, allocations: 0.75 kB / 390 MB, free: 51.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.3303, allocations: 227.2 kB / 390.2 MB, free: 51.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009714/0.3313, allocations: 171.6 kB / 390.4 MB, free: 50.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.3327, allocations: 0.9215 MB / 391.3 MB, free: 50.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.333, allocations: 0.7759 MB / 392.1 MB, free: 49.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.3333, allocations: 50.38 kB / 392.1 MB, free: 49.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.3334, allocations: 28.97 kB / 392.2 MB, free: 49.68 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3334, allocations: 0 / 392.2 MB, free: 49.68 MB / 318.1 MB Notification: Performance of Templates: time 0.01597/0.3494, allocations: 9.877 MB / 402 MB, free: 43.28 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)