Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.42 kB / 16.65 MB, free: 6.602 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.001332/0.001332, allocations: 183.6 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.412/1.412, 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.0004863/0.0004864, allocations: 8.422 kB / 280.7 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08194, allocations: 47.6 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03188/0.1139, allocations: 36.5 MB / 364.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1963/0.3102, allocations: 31.08 MB / 395.9 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006186/0.3109, allocations: 4.75 kB / 395.9 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000929/0.3118, allocations: 338.1 kB / 396.2 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009574/0.3128, allocations: 0.5053 MB / 396.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.3264, allocations: 4.152 MB / 400.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002217/0.3286, allocations: 2.033 MB / 402.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3289, allocations: 129.1 kB / 403.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007206/0.3296, allocations: 462.6 kB / 403.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.3301, allocations: 450.5 kB / 403.9 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.3302, allocations: 25.09 kB / 404 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04368/0.3739, allocations: 35.3 MB / 439.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.3743, allocations: 116.5 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006196/0.3749, allocations: 315.1 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05845/0.4333, allocations: 26.12 MB / 465.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4334, allocations: 0 / 465.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4334, allocations: 3.938 kB / 465.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4334, allocations: 0 / 465.8 MB, free: 5.156 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007566/0.441, allocations: 1.312 MB / 467.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.441, allocations: 8.031 kB / 467.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.4417, allocations: 95.3 kB / 467.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.4422, allocations: 387.1 kB / 467.6 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.4422, allocations: 37 kB / 467.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.4423, allocations: 44 kB / 467.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.4435, allocations: 0.6282 MB / 468.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.4435, allocations: 4 kB / 468.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.4436, allocations: 16 kB / 468.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4436, allocations: 12 kB / 468.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009723/0.4446, allocations: 0.5307 MB / 468.9 MB, free: 2.07 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003819/0.4484, allocations: 3.815 MB / 472.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.4493, allocations: 414.5 kB / 473.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.4496, allocations: 213.3 kB / 473.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003269/0.4529, allocations: 3.541 MB / 476.8 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.453, allocations: 38.94 kB / 476.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.453, allocations: 0 / 476.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009141/0.4621, allocations: 2.046 MB / 478.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4622, allocations: 63.84 kB / 479 MB, free: 6.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.4625, allocations: 312.4 kB / 479.3 MB, free: 6.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.4625, allocations: 37.7 kB / 479.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4627, allocations: 232.5 kB / 479.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.4628, allocations: 187.4 kB / 479.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.4629, allocations: 61.69 kB / 479.8 MB, free: 6.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4631, allocations: 350.8 kB / 480.2 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.4634, allocations: 177.2 kB / 480.3 MB, free: 5.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.4638, allocations: 337.7 kB / 480.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.4645, allocations: 0.5446 MB / 481.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4645, allocations: 0 / 481.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001218/0.4657, allocations: 0.6734 MB / 481.9 MB, free: 3.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4658, allocations: 8 kB / 481.9 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.4658, allocations: 4.562 kB / 481.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009346/0.4751, allocations: 457.9 kB / 482.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.4757, allocations: 139.8 kB / 482.5 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4777, allocations: 2.994 MB / 485.5 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.4781, allocations: 48.06 kB / 485.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.4781, allocations: 31.94 kB / 485.5 MB, free: 15.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.4784, allocations: 185.7 kB / 485.7 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.4785, allocations: 39.53 kB / 485.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.48, allocations: 1.065 MB / 486.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.48, allocations: 19.92 kB / 486.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.48, allocations: 0 / 486.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.4812, allocations: 1.083 MB / 487.9 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.4833, allocations: 1.74 MB / 489.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4833, allocations: 3.938 kB / 489.7 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.4837, allocations: 95.89 kB / 489.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003243/0.4869, allocations: 361 kB / 490.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.487, allocations: 15.98 kB / 490.1 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007117/0.4877, allocations: 1.148 MB / 491.3 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4877, allocations: 4.031 kB / 491.3 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.4892, allocations: 1.128 MB / 492.4 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.4894, allocations: 140.4 kB / 492.5 MB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.4895, allocations: 11.94 kB / 492.6 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.4898, allocations: 31.92 kB / 492.6 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.4899, allocations: 36.52 kB / 492.6 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.4899, allocations: 19.98 kB / 492.6 MB, free: 8.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.4902, allocations: 247 kB / 492.9 MB, free: 8.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4902, allocations: 0 / 492.9 MB, free: 8.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005611/0.4958, allocations: 0.9604 MB / 493.8 MB, free: 7.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04006/0.5359, allocations: 7.854 MB / 0.4899 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.5374, allocations: 0.7088 MB / 0.4906 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5374, allocations: 0 / 0.4906 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.538, allocations: 368.5 kB / 0.491 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.5395, allocations: 253.1 kB / 0.4912 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.5419, allocations: 1.665 MB / 0.4929 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.5424, allocations: 0.8648 MB / 0.4937 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005261/0.5429, allocations: 244.1 kB / 0.4939 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5431, allocations: 55.42 kB / 0.494 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5431, allocations: 0 / 0.494 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.04917/0.5922, allocations: 35.41 MB / 0.5286 GB, free: 8.047 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)