Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001015/0.001015, allocations: 93.47 kB / 16.65 MB, free: 6.598 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.001279/0.001279, allocations: 177 kB / 17.56 MB, free: 6.203 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.342/1.342, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004569/0.0004568, allocations: 12 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08044, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0322/0.1127, allocations: 36.9 MB / 365.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005158/0.1179, allocations: 4.561 MB / 369.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.1183, allocations: 8 kB / 369.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008153/0.1192, allocations: 258.6 kB / 370 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00095/0.1201, allocations: 469.7 kB / 370.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.1241, allocations: 1.389 MB / 371.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.1259, allocations: 1.955 MB / 373.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.1261, allocations: 122.4 kB / 374 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.1266, allocations: 402.5 kB / 374.3 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/0.1271, allocations: 414.3 kB / 374.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.1272, allocations: 20 kB / 374.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1285, allocations: 0.7219 MB / 375.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1286, allocations: 111.6 kB / 375.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1289, allocations: 272.7 kB / 375.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.13, allocations: 1.009 MB / 376.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.13, allocations: 4 kB / 376.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.13, allocations: 3.938 kB / 376.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.13, allocations: 0 / 376.9 MB, free: 3.012 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009248/0.131, allocations: 0.6786 MB / 377.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.131, allocations: 8.031 kB / 377.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005449/0.1316, allocations: 84.34 kB / 377.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.132, allocations: 343.3 kB / 378 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.132, allocations: 29.38 kB / 378 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.1321, allocations: 40.36 kB / 378.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.1327, allocations: 475.6 kB / 378.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1327, allocations: 4 kB / 378.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.522e-05/0.1328, allocations: 20 kB / 378.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1328, allocations: 8 kB / 378.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.1333, allocations: 303.7 kB / 378.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.3038, allocations: 6.722 MB / 385.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.3043, allocations: 276.8 kB / 385.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.3046, allocations: 150.3 kB / 386 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009924/0.3145, allocations: 3.882 MB / 389.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3146, allocations: 42.12 kB / 389.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.3146, allocations: 0 / 389.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.0114/0.326, allocations: 2.495 MB / 392.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.326, allocations: 56.31 kB / 392.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.3263, allocations: 312.2 kB / 392.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3264, allocations: 34.92 kB / 392.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.3265, allocations: 221.2 kB / 393 MB, free: 10.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.3266, allocations: 164.4 kB / 393.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.3266, allocations: 46.66 kB / 393.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.3267, allocations: 347 kB / 393.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.3269, allocations: 150.8 kB / 393.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.3272, allocations: 278.1 kB / 394 MB, free: 9.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.3278, allocations: 475.3 kB / 394.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3278, allocations: 6.375 kB / 394.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009145/0.3287, allocations: 0.59 MB / 395 MB, free: 9.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3288, allocations: 6.031 kB / 395 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3288, allocations: 4.031 kB / 395.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/0.3355, allocations: 0.7705 MB / 395.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.3359, allocations: 112.7 kB / 395.9 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.3373, allocations: 2.473 MB / 398.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.3377, allocations: 30.7 kB / 398.4 MB, free: 7.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3377, allocations: 29 kB / 398.5 MB, free: 7.336 MB / 318.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.000206/0.3379, allocations: 166.9 kB / 398.6 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.338, allocations: 40.09 kB / 398.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.3391, allocations: 0.8617 MB / 399.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3391, allocations: 10.94 kB / 399.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3391, allocations: 0 / 399.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007618/0.3399, allocations: 0.9534 MB / 400.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.3415, allocations: 1.494 MB / 402 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3415, allocations: 0 / 402 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.3418, allocations: 74.12 kB / 402.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003341/0.3451, allocations: 0.6385 MB / 402.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.3452, allocations: 14.16 kB / 402.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006286/0.3458, allocations: 1.287 MB / 404 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3458, allocations: 0 / 404 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.347, allocations: 1.218 MB / 405.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.3472, allocations: 121.7 kB / 405.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.3472, allocations: 19.19 kB / 405.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.3475, allocations: 21.75 kB / 405.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3475, allocations: 29.06 kB / 405.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3476, allocations: 19.77 kB / 405.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3477, allocations: 213.2 kB / 405.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3478, allocations: 0 / 405.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006952/0.3485, allocations: 229.7 kB / 405.9 MB, free: 4.84 MB / 318.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.0005194/0.349, allocations: 280.3 kB / 406.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.35, allocations: 0.6947 MB / 406.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.35, allocations: 0 / 406.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007583/0.3508, allocations: 427.9 kB / 407.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.352, allocations: 232.5 kB / 407.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3536, allocations: 1.532 MB / 409 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.3538, allocations: 0.8377 MB / 409.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.3541, allocations: 73.22 kB / 409.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.3542, allocations: 42.42 kB / 410 MB, free: 3.082 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3542, allocations: 0 / 410 MB, free: 3.082 MB / 318.1 MB Notification: Performance of Templates: time 0.01747/0.3717, allocations: 12.1 MB / 422.1 MB, free: 10.15 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)