Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008539/0.0008539, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009818/0.000982, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004331/0.0004333, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03489/0.274, allocations: 34.76 MB / 361.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.03013/0.3042, allocations: 28.14 MB / 389.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006786/0.3049, allocations: 4 kB / 389.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.3061, allocations: 314.3 kB / 389.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3074, allocations: 485.4 kB / 390.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01219/0.3196, allocations: 3.828 MB / 394 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.3223, allocations: 1.702 MB / 395.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.3227, allocations: 130.3 kB / 395.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.3242, allocations: 466.2 kB / 396.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3253, allocations: 438.3 kB / 396.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.3254, allocations: 28 kB / 396.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07883/0.4042, allocations: 51.74 MB / 448.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.4046, allocations: 111.6 kB / 448.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.4049, allocations: 145.5 kB / 448.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2675/0.6724, allocations: 13.87 MB / 462.6 MB, free: 50.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.6725, allocations: 0 / 462.6 MB, free: 50.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6725, allocations: 0 / 462.6 MB, free: 50.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.6725, allocations: 0 / 462.6 MB, free: 50.85 MB / 382.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.01164/0.6841, allocations: 1.323 MB / 463.9 MB, free: 50.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6842, allocations: 10.34 kB / 463.9 MB, free: 50.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007261/0.6849, allocations: 92.5 kB / 464 MB, free: 50.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.6853, allocations: 376.3 kB / 464.4 MB, free: 49.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.6854, allocations: 35.44 kB / 464.4 MB, free: 49.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.6855, allocations: 47.56 kB / 464.5 MB, free: 49.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.6865, allocations: 0.6156 MB / 465.1 MB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.6865, allocations: 4.719 kB / 465.1 MB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.6865, allocations: 21 kB / 465.1 MB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.6866, allocations: 11.31 kB / 465.1 MB, free: 49.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008134/0.6874, allocations: 0.5262 MB / 465.6 MB, free: 49.71 MB / 382.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.003293/0.6907, allocations: 3.804 MB / 469.4 MB, free: 47.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/0.6915, allocations: 415.7 kB / 469.8 MB, free: 47.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.6918, allocations: 208.7 kB / 470 MB, free: 47.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002402/0.6942, allocations: 3.545 MB / 473.6 MB, free: 43.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.6942, allocations: 43.08 kB / 473.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.985e-06/0.6942, allocations: 0 / 473.6 MB, free: 43.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008665/0.7029, allocations: 2.043 MB / 475.7 MB, free: 43.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.703, allocations: 58.66 kB / 475.7 MB, free: 43.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.7033, allocations: 306.6 kB / 476 MB, free: 43.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.7033, allocations: 35.08 kB / 476.1 MB, free: 42.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.7034, allocations: 236.1 kB / 476.3 MB, free: 42.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.649e-05/0.7035, allocations: 194.3 kB / 476.5 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.7036, allocations: 11.31 kB / 476.5 MB, free: 42.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.7036, allocations: 353 kB / 476.8 MB, free: 42.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.7039, allocations: 175.2 kB / 477 MB, free: 42.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.7042, allocations: 332.9 kB / 477.3 MB, free: 42.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.7045, allocations: 223.5 kB / 477.6 MB, free: 42.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7045, allocations: 5.281 kB / 477.6 MB, free: 42.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001062/0.7056, allocations: 0.6646 MB / 478.2 MB, free: 42.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.7057, allocations: 7.406 kB / 478.2 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.7057, allocations: 7.906 kB / 478.2 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008135/0.7138, allocations: 456.3 kB / 478.7 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.7145, allocations: 142.1 kB / 478.8 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.716, allocations: 2.99 MB / 481.8 MB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.7165, allocations: 51.28 kB / 481.9 MB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.7165, allocations: 32.91 kB / 481.9 MB, free: 39.23 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002763/0.7168, allocations: 187.9 kB / 482.1 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.7169, allocations: 43.34 kB / 482.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.7183, allocations: 1.067 MB / 483.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7184, allocations: 8.188 kB / 483.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7184, allocations: 3.469 kB / 483.2 MB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/0.7194, allocations: 1.084 MB / 484.3 MB, free: 38.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.7213, allocations: 1.734 MB / 486 MB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7213, allocations: 0.875 kB / 486 MB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.7217, allocations: 98.52 kB / 486.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002634/0.7243, allocations: 361.2 kB / 486.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.7244, allocations: 18.25 kB / 486.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004607/0.7248, allocations: 1.141 MB / 487.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7249, allocations: 0 / 487.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.7261, allocations: 1.137 MB / 488.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.7263, allocations: 141.6 kB / 488.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.7263, allocations: 12.38 kB / 488.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.7267, allocations: 31.75 kB / 488.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.7267, allocations: 35.59 kB / 489 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.7268, allocations: 18.33 kB / 489 MB, free: 36.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.727, allocations: 251.7 kB / 489.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.727, allocations: 4 kB / 489.2 MB, free: 36.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.008575/0.7356, allocations: 0.9582 MB / 490.2 MB, free: 36.58 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.05096/0.7866, allocations: 7.85 MB / 498.1 MB, free: 31.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.7882, allocations: 0.7014 MB / 498.8 MB, free: 31.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7882, allocations: 0 / 498.8 MB, free: 31.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.7887, allocations: 367 kB / 499.1 MB, free: 30.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.7901, allocations: 258.7 kB / 499.4 MB, free: 30.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.792, allocations: 1.621 MB / 0.4892 GB, free: 29.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.7923, allocations: 0.8609 MB / 0.4901 GB, free: 28.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000546/0.7929, allocations: 238.3 kB / 0.4903 GB, free: 28.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.793, allocations: 49.36 kB / 0.4904 GB, free: 28.38 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.793, allocations: 0 / 0.4904 GB, free: 28.38 MB / 382.1 MB Notification: Performance of Templates: time 0.04206/0.8351, allocations: 34.98 MB / 0.5245 GB, free: 11.36 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)