Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009689/0.0009737, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008083/0.008083, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.394/1.394, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0004984/0.0004985, allocations: 10.66 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02609/0.2425, allocations: 25.72 MB / 352.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02684/0.2694, allocations: 25.23 MB / 378 MB, free: 276 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004224/0.2699, allocations: 4 kB / 378 MB, free: 272 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007877/0.2707, allocations: 250.7 kB / 378.2 MB, free: 20 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007609/0.2714, allocations: 358.2 kB / 378.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01088/0.2823, allocations: 3.245 MB / 381.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.2839, allocations: 1.395 MB / 383.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.2841, allocations: 81.02 kB / 383.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005502/0.2847, allocations: 338.6 kB / 383.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.2851, allocations: 302.8 kB / 383.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.2851, allocations: 20 kB / 383.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03768/0.3228, allocations: 27.65 MB / 411.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.3231, allocations: 79.67 kB / 411.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.3234, allocations: 232.8 kB / 411.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04696/0.3704, allocations: 20.12 MB / 432 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3705, allocations: 0 / 432 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.157e-06/0.3705, allocations: 0 / 432 MB, free: 10 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.3705, allocations: 0 / 432 MB, free: 10 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.007459/0.3779, allocations: 1.061 MB / 433.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.378, allocations: 12.03 kB / 433.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006211/0.3786, allocations: 71.42 kB / 433.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.379, allocations: 314.3 kB / 433.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.3791, allocations: 28.66 kB / 433.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.3791, allocations: 35.98 kB / 433.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/0.38, allocations: 463.8 kB / 434 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.38, allocations: 0 / 434 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.3801, allocations: 20 kB / 434 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3801, allocations: 15.92 kB / 434 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.3808, allocations: 382.3 kB / 434.4 MB, free: 7.504 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.003165/0.384, allocations: 2.949 MB / 437.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.3846, allocations: 286.8 kB / 437.6 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.3848, allocations: 136.8 kB / 437.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002392/0.3872, allocations: 2.536 MB / 440.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3873, allocations: 38.56 kB / 440.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.3873, allocations: 0 / 440.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005122/0.3924, allocations: 1.297 MB / 441.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3925, allocations: 59.34 kB / 441.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3927, allocations: 262.6 kB / 441.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3928, allocations: 29.7 kB / 442 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3929, allocations: 191.9 kB / 442.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.393, allocations: 126.2 kB / 442.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.3931, allocations: 41.7 kB / 442.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3932, allocations: 346.8 kB / 442.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3934, allocations: 108.8 kB / 442.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.3936, allocations: 222.1 kB / 443 MB, free: 13.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.3941, allocations: 381.5 kB / 443.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3941, allocations: 8 kB / 443.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007738/0.3949, allocations: 450.6 kB / 443.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3949, allocations: 8.438 kB / 443.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.395, allocations: 4 kB / 443.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004789/0.3998, allocations: 237.4 kB / 444 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4002, allocations: 95.77 kB / 444.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.4015, allocations: 1.844 MB / 446 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.4018, allocations: 32.17 kB / 446 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.4019, allocations: 20 kB / 446 MB, free: 10.7 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: 3 (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 (48): * Single equations (assignments): 46 * 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.4021, allocations: 169.6 kB / 446.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.4022, allocations: 31.62 kB / 446.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4032, allocations: 0.6856 MB / 446.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.4032, allocations: 15.98 kB / 446.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.4032, allocations: 4 kB / 446.9 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007949/0.404, allocations: 0.8518 MB / 447.8 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.4055, allocations: 1.191 MB / 449 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4055, allocations: 0 / 449 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.4058, allocations: 67.89 kB / 449 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.4074, allocations: 176.6 kB / 449.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.4075, allocations: 15.92 kB / 449.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003492/0.4078, allocations: 0.5835 MB / 449.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4078, allocations: 3.938 kB / 449.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.4088, allocations: 0.7291 MB / 450.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.4089, allocations: 124.6 kB / 450.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.409, allocations: 12 kB / 450.7 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.4092, allocations: 24.08 kB / 450.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.4092, allocations: 27.72 kB / 450.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.4093, allocations: 8 kB / 450.7 MB, free: 5.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.4095, allocations: 221.9 kB / 451 MB, free: 5.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4095, allocations: 0 / 451 MB, free: 5.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004227/0.4137, allocations: 0.7379 MB / 451.7 MB, free: 4.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1958/0.6096, allocations: 6.377 MB / 458.1 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.6107, allocations: 486.9 kB / 458.5 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6107, allocations: 3 kB / 458.5 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.6111, allocations: 222.3 kB / 458.8 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.6123, allocations: 187.3 kB / 458.9 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.6138, allocations: 1.117 MB / 460.1 MB, free: 109.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.614, allocations: 0.806 MB / 460.9 MB, free: 109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.6145, allocations: 194.6 kB / 461.1 MB, free: 109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.282e-05/0.6145, allocations: 41 kB / 461.1 MB, free: 109 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6146, allocations: 1.031 kB / 461.1 MB, free: 109 MB / 382.1 MB Notification: Performance of Templates: time 0.03427/0.6488, allocations: 28.53 MB / 489.6 MB, free: 86.19 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)