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.0009151/0.000915, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009777/0.0009777, allocations: 177.3 kB / 15.95 MB, free: 216 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.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004666/0.0004667, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2248, allocations: 47.58 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03257/0.2574, allocations: 31.68 MB / 358.1 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02975/0.2872, allocations: 25.59 MB / 383.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007861/0.2881, allocations: 8 kB / 383.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.2892, allocations: 338.5 kB / 384 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009348/0.2901, allocations: 363 kB / 384.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.3031, allocations: 3.97 MB / 388.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3045, allocations: 0.7576 MB / 389.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.3048, allocations: 130.2 kB / 389.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000652/0.3055, allocations: 394.8 kB / 389.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.3058, allocations: 274.9 kB / 389.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.3059, allocations: 24 kB / 389.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2484/0.5543, allocations: 69.16 MB / 459.1 MB, free: 61.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.5546, allocations: 112.2 kB / 459.2 MB, free: 61.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.5549, allocations: 141.3 kB / 459.3 MB, free: 61.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03415/0.5891, allocations: 13.83 MB / 473.2 MB, free: 61.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.5891, allocations: 0 / 473.2 MB, free: 61.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5891, allocations: 2.594 kB / 473.2 MB, free: 61.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5891, allocations: 0 / 473.2 MB, free: 61.52 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.009457/0.5986, allocations: 1.318 MB / 474.5 MB, free: 60.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5987, allocations: 9.219 kB / 474.5 MB, free: 60.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.5994, allocations: 93.08 kB / 474.6 MB, free: 60.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.5999, allocations: 378.7 kB / 475 MB, free: 60.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.5999, allocations: 34.56 kB / 475 MB, free: 60.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.6, allocations: 47 kB / 475 MB, free: 60.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.6011, allocations: 0.6149 MB / 475.7 MB, free: 60.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.6012, allocations: 1 kB / 475.7 MB, free: 60.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.6012, allocations: 23.12 kB / 475.7 MB, free: 60.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.6012, allocations: 12.62 kB / 475.7 MB, free: 60.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.6021, allocations: 0.5239 MB / 476.2 MB, free: 60.29 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.003557/0.6057, allocations: 3.821 MB / 480 MB, free: 57.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.6065, allocations: 410.6 kB / 480.4 MB, free: 57.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002301/0.6088, allocations: 3.555 MB / 484 MB, free: 53.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.6088, allocations: 37.81 kB / 484 MB, free: 53.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.856e-06/0.6088, allocations: 2.734 kB / 484 MB, free: 53.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008528/0.6174, allocations: 2.042 MB / 486.1 MB, free: 51.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.6174, allocations: 59.84 kB / 486.1 MB, free: 51.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.6177, allocations: 303.1 kB / 486.4 MB, free: 51.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.6177, allocations: 36.33 kB / 486.5 MB, free: 51.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.6178, allocations: 236.6 kB / 486.7 MB, free: 51.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.186e-05/0.6179, allocations: 191.3 kB / 486.9 MB, free: 51.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.618, allocations: 10.5 kB / 486.9 MB, free: 51.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.618, allocations: 348.4 kB / 487.2 MB, free: 50.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.6183, allocations: 177.1 kB / 487.4 MB, free: 50.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.6186, allocations: 328.5 kB / 487.7 MB, free: 50.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.6189, allocations: 228.5 kB / 487.9 MB, free: 50.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6189, allocations: 11.89 kB / 488 MB, free: 50.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001001/0.6199, allocations: 0.6625 MB / 488.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6199, allocations: 11.19 kB / 488.6 MB, free: 49.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.62, allocations: 5 kB / 488.6 MB, free: 49.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008694/0.6287, allocations: 451.8 kB / 489.1 MB, free: 49.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.6292, allocations: 141.2 kB / 489.2 MB, free: 49.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.6305, allocations: 2.999 MB / 492.2 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.631, allocations: 49.62 kB / 492.3 MB, free: 46.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.631, allocations: 32.61 kB / 492.3 MB, free: 46.47 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.0002341/0.6313, allocations: 192.2 kB / 492.5 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.6314, allocations: 44.66 kB / 492.5 MB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.6326, allocations: 1.054 MB / 493.6 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6326, allocations: 20.34 kB / 493.6 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.6326, allocations: 0 / 493.6 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008496/0.6335, allocations: 1.085 MB / 494.7 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.6352, allocations: 1.728 MB / 496.4 MB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.6352, allocations: 2.484 kB / 496.4 MB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.6355, allocations: 102.8 kB / 496.5 MB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.6384, allocations: 360.7 kB / 496.9 MB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.6385, allocations: 13.69 kB / 496.9 MB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004131/0.6389, allocations: 1.151 MB / 498 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6389, allocations: 0 / 498 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.64, allocations: 1.126 MB / 499.2 MB, free: 41.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.6402, allocations: 143.1 kB / 499.3 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.6402, allocations: 14.91 kB / 499.3 MB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.6406, allocations: 29.14 kB / 499.3 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.6406, allocations: 39.64 kB / 499.4 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.6407, allocations: 23.25 kB / 499.4 MB, free: 41.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.6409, allocations: 253.5 kB / 499.7 MB, free: 41.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6409, allocations: 4 kB / 499.7 MB, free: 41.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007046/0.6479, allocations: 0.957 MB / 0.4889 GB, free: 40.32 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.04811/0.6961, allocations: 7.852 MB / 0.4965 GB, free: 32.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.6976, allocations: 0.702 MB / 0.4972 GB, free: 32.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6976, allocations: 0 / 0.4972 GB, free: 32.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.6981, allocations: 364.9 kB / 0.4976 GB, free: 31.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.6994, allocations: 251 kB / 0.4978 GB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.7013, allocations: 1.613 MB / 0.4994 GB, free: 30.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.7015, allocations: 0.875 MB / 0.5003 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004647/0.702, allocations: 243.4 kB / 0.5005 GB, free: 29.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.7021, allocations: 50.98 kB / 0.5005 GB, free: 29.08 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.7021, allocations: 4 kB / 0.5005 GB, free: 29.07 MB / 382.1 MB Notification: Performance of Templates: time 0.04163/0.7437, allocations: 34.93 MB / 0.5346 GB, free: 10.6 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: