Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 96.42 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007814/0.0007814, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2213, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02517/0.2465, allocations: 37.26 MB / 411.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0284/0.275, allocations: 31.58 MB / 442.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006185/0.2756, allocations: 7.938 kB / 442.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.2768, allocations: 354.3 kB / 443 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009512/0.2778, allocations: 0.5012 MB / 443.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.2901, allocations: 4.155 MB / 447.7 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.2923, allocations: 2.046 MB / 449.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.2926, allocations: 128.4 kB / 449.8 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.2934, allocations: 474.2 kB / 450.3 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.2939, allocations: 462.1 kB / 450.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.2939, allocations: 28 kB / 450.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04975/0.3437, allocations: 35.3 MB / 486.1 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.344, allocations: 123.6 kB / 486.2 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.3445, allocations: 302.7 kB / 486.5 MB, free: 460 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2339/0.5785, allocations: 26.15 MB / 0.5006 GB, free: 47.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5785, allocations: 0 / 0.5006 GB, free: 47.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5785, allocations: 0 / 0.5006 GB, free: 47.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.5786, allocations: 0 / 0.5006 GB, free: 47.69 MB / 378.7 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.0116/0.5902, allocations: 1.419 MB / 0.502 GB, free: 46.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5902, allocations: 11.22 kB / 0.502 GB, free: 46.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007591/0.591, allocations: 97.31 kB / 0.5021 GB, free: 46.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.5914, allocations: 382.5 kB / 0.5025 GB, free: 46.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.5914, allocations: 37.88 kB / 0.5025 GB, free: 46.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.5915, allocations: 45.03 kB / 0.5026 GB, free: 46.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.5925, allocations: 0.6265 MB / 0.5032 GB, free: 46.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.5925, allocations: 0.5625 kB / 0.5032 GB, free: 46.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.5926, allocations: 21.69 kB / 0.5032 GB, free: 46.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.5926, allocations: 14.28 kB / 0.5032 GB, free: 46.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.5934, allocations: 0.5304 MB / 0.5037 GB, free: 46.46 MB / 378.7 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.003301/0.5967, allocations: 3.794 MB / 0.5074 GB, free: 44.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.5974, allocations: 415.2 kB / 0.5078 GB, free: 44.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.5977, allocations: 216.5 kB / 0.508 GB, free: 44.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/0.6, allocations: 3.46 MB / 0.5114 GB, free: 40.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6, allocations: 42.44 kB / 0.5114 GB, free: 40.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/0.6, allocations: 0 / 0.5114 GB, free: 40.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.007865/0.6079, allocations: 2.023 MB / 0.5134 GB, free: 39.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.6079, allocations: 57.25 kB / 0.5135 GB, free: 39.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.6082, allocations: 310.2 kB / 0.5138 GB, free: 39.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.6083, allocations: 37.58 kB / 0.5138 GB, free: 39.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.6084, allocations: 232.7 kB / 0.514 GB, free: 39.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.6085, allocations: 192.7 kB / 0.5142 GB, free: 39.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.6086, allocations: 119.5 kB / 0.5143 GB, free: 39.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.6087, allocations: 349.4 kB / 0.5147 GB, free: 39.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.6089, allocations: 175.9 kB / 0.5148 GB, free: 39.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.6093, allocations: 336.8 kB / 0.5151 GB, free: 38.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.6099, allocations: 0.5465 MB / 0.5157 GB, free: 38.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6099, allocations: 3.938 kB / 0.5157 GB, free: 38.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001015/0.6109, allocations: 0.6727 MB / 0.5163 GB, free: 38.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.611, allocations: 7.5 kB / 0.5164 GB, free: 38.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.611, allocations: 4.75 kB / 0.5164 GB, free: 38.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008324/0.6193, allocations: 442.9 kB / 0.5168 GB, free: 38.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.6199, allocations: 143.2 kB / 0.5169 GB, free: 38.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.6212, allocations: 2.995 MB / 0.5198 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.6216, allocations: 48.91 kB / 0.5199 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.6217, allocations: 32.78 kB / 0.5199 GB, free: 35.82 MB / 378.7 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.0002232/0.6219, allocations: 186.5 kB / 0.5201 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/0.622, allocations: 42.92 kB / 0.5201 GB, free: 35.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.6232, allocations: 1.069 MB / 0.5212 GB, free: 35.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6232, allocations: 7.812 kB / 0.5212 GB, free: 35.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.6232, allocations: 3.812 kB / 0.5212 GB, free: 35.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008619/0.6241, allocations: 1.083 MB / 0.5222 GB, free: 35.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.6257, allocations: 1.734 MB / 0.5239 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6258, allocations: 0 / 0.5239 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.6261, allocations: 100.5 kB / 0.524 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/0.6289, allocations: 347.3 kB / 0.5244 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.629, allocations: 20.55 kB / 0.5244 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004004/0.6294, allocations: 1.149 MB / 0.5255 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6294, allocations: 0 / 0.5255 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05639/0.6858, allocations: 20.21 MB / 0.5452 GB, free: 17.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.6859, allocations: 136 kB / 0.5454 GB, free: 17.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.686, allocations: 20.02 kB / 0.5454 GB, free: 17.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.6863, allocations: 27.34 kB / 0.5454 GB, free: 17.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.6863, allocations: 35.78 kB / 0.5455 GB, free: 17.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.6864, allocations: 23.92 kB / 0.5455 GB, free: 17.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.6866, allocations: 249.8 kB / 0.5457 GB, free: 17.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6866, allocations: 0 / 0.5457 GB, free: 17.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01448/0.7011, allocations: 2.076 MB / 0.5477 GB, free: 15.61 MB / 378.7 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.07755/0.7786, allocations: 13.16 MB / 0.5606 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.7803, allocations: 0.7106 MB / 0.5613 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.7803, allocations: 0 / 0.5613 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.7809, allocations: 367.6 kB / 0.5616 GB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.7823, allocations: 260.1 kB / 0.5619 GB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.787, allocations: 2.388 MB / 0.5642 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.7875, allocations: 0.8886 MB / 0.5651 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006052/0.7881, allocations: 259.2 kB / 0.5653 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.7882, allocations: 59.42 kB / 0.5654 GB, free: 14.46 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7882, allocations: 1.75 kB / 0.5654 GB, free: 14.46 MB / 394.7 MB Notification: Performance of Templates: time 0.0804/0.8687, allocations: 66.08 MB / 0.6299 GB, free: 12.74 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)