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.0007518/0.000752, allocations: 91.16 kB / 16.65 MB, free: 6.586 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.000763/0.0007631, allocations: 180.2 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.331/1.331, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004782/0.0004782, allocations: 12 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08716, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02369/0.1109, allocations: 26.61 MB / 354.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.1155, allocations: 4.152 MB / 359.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.1158, allocations: 4 kB / 359.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005716/0.1164, allocations: 179.1 kB / 359.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.117, allocations: 326.4 kB / 359.6 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.1204, allocations: 1.245 MB / 360.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.1216, allocations: 1.332 MB / 362.2 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1218, allocations: 76.67 kB / 362.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006084/0.1279, allocations: 4.207 MB / 366.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.1283, allocations: 282.8 kB / 366.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.1283, allocations: 12 kB / 366.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1296, allocations: 0.6985 MB / 367.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.1297, allocations: 79.7 kB / 367.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1299, allocations: 201 kB / 367.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.1309, allocations: 0.8182 MB / 368.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1309, allocations: 0 / 368.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1309, allocations: 0 / 368.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1309, allocations: 0 / 368.5 MB, free: 11.42 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.0007752/0.1317, allocations: 0.577 MB / 369.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1318, allocations: 12.02 kB / 369.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.1322, allocations: 60.55 kB / 369.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1325, allocations: 279.8 kB / 369.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1325, allocations: 28.88 kB / 369.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.1326, allocations: 32.28 kB / 369.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.1331, allocations: 342.6 kB / 369.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1331, allocations: 7.938 kB / 369.8 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.1331, allocations: 12 kB / 369.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1332, allocations: 4 kB / 369.9 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1335, allocations: 210 kB / 370.1 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.1456, allocations: 5.908 MB / 376 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.146, allocations: 174.5 kB / 376.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1461, allocations: 88.92 kB / 376.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1572/0.3033, allocations: 3.872 MB / 380.1 MB, free: 56.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3034, allocations: 42.06 kB / 380.1 MB, free: 56.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.923e-06/0.3034, allocations: 0 / 380.1 MB, free: 56.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006329/0.3097, allocations: 1.423 MB / 381.6 MB, free: 56.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.3098, allocations: 54.5 kB / 381.6 MB, free: 56.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.31, allocations: 257.1 kB / 381.9 MB, free: 56.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3101, allocations: 31.98 kB / 381.9 MB, free: 56.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.3102, allocations: 190 kB / 382.1 MB, free: 55.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.3102, allocations: 93.02 kB / 382.2 MB, free: 55.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3103, allocations: 37.28 kB / 382.2 MB, free: 55.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.3104, allocations: 337.8 kB / 382.5 MB, free: 55.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3105, allocations: 89.7 kB / 382.6 MB, free: 55.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.3107, allocations: 187.6 kB / 382.8 MB, free: 55.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.3111, allocations: 308.3 kB / 383.1 MB, free: 55.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3111, allocations: 0 / 383.1 MB, free: 55.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006996/0.3118, allocations: 393 kB / 383.5 MB, free: 55.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3119, allocations: 6.031 kB / 383.5 MB, free: 55.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3119, allocations: 4.594 kB / 383.5 MB, free: 55.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/0.3153, allocations: 411.6 kB / 383.9 MB, free: 55.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3156, allocations: 67.64 kB / 384 MB, free: 55.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.3167, allocations: 1.874 MB / 385.8 MB, free: 53.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.317, allocations: 25.72 kB / 385.9 MB, free: 53.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.317, allocations: 17.22 kB / 385.9 MB, free: 53.46 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.0001371/0.3171, allocations: 159.6 kB / 386 MB, free: 53.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3172, allocations: 34.52 kB / 386.1 MB, free: 53.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.3179, allocations: 493.8 kB / 386.6 MB, free: 53.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3179, allocations: 4.922 kB / 386.6 MB, free: 53.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3179, allocations: 0 / 386.6 MB, free: 53.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005529/0.3185, allocations: 0.722 MB / 387.3 MB, free: 52.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3196, allocations: 0.9507 MB / 388.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3197, allocations: 0 / 388.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3198, allocations: 56.94 kB / 388.3 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.3217, allocations: 335.1 kB / 388.6 MB, free: 51.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.3217, allocations: 8.391 kB / 388.6 MB, free: 51.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003461/0.3221, allocations: 0.6333 MB / 389.3 MB, free: 51.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3221, allocations: 1.25 kB / 389.3 MB, free: 51.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.3229, allocations: 0.7278 MB / 390 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.323, allocations: 104.1 kB / 390.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.323, allocations: 7.266 kB / 390.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3232, allocations: 20.44 kB / 390.1 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.3233, allocations: 18.72 kB / 390.1 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3233, allocations: 13.11 kB / 390.2 MB, free: 50.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.3235, allocations: 186.4 kB / 390.3 MB, free: 50.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3235, allocations: 1.062 kB / 390.3 MB, free: 50.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000652/0.3242, allocations: 185 kB / 390.5 MB, free: 50.54 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.0005406/0.3247, allocations: 273.8 kB / 390.8 MB, free: 50.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.3254, allocations: 447.1 kB / 391.2 MB, free: 50.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3254, allocations: 5.062 kB / 391.2 MB, free: 50.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.3259, allocations: 227.7 kB / 391.4 MB, free: 50.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.327, allocations: 157 kB / 391.6 MB, free: 50.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3281, allocations: 0.9762 MB / 392.6 MB, free: 49.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3283, allocations: 0.7781 MB / 393.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.3286, allocations: 54.39 kB / 393.4 MB, free: 48.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.3286, allocations: 32.16 kB / 393.4 MB, free: 48.74 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3286, allocations: 0 / 393.4 MB, free: 48.74 MB / 318.1 MB Notification: Performance of Templates: time 0.01318/0.3418, allocations: 9.559 MB / 403 MB, free: 42.69 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)