Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007127/0.007127, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001718/0.001718, allocations: 188 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001134/0.001134, allocations: 55.36 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08496, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0349/0.1199, allocations: 37.65 MB / 410.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03182/0.1518, allocations: 30.61 MB / 441.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006213/0.1524, allocations: 8 kB / 441.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.1538, allocations: 417.7 kB / 441.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.1551, allocations: 0.5322 MB / 442.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01362/0.1687, allocations: 5.238 MB / 447.6 MB, free: 6.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.1704, allocations: 1.355 MB / 449 MB, free: 5.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.1708, allocations: 166.5 kB / 449.1 MB, free: 5.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000819/0.1716, allocations: 0.541 MB / 449.7 MB, free: 4.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.1721, allocations: 434.3 kB / 450.1 MB, free: 4.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.1722, allocations: 52 kB / 450.2 MB, free: 4.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2188/0.3909, allocations: 12.8 MB / 463 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.3912, allocations: 151.6 kB / 463.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.3919, allocations: 323.6 kB / 463.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03435/0.4262, allocations: 14.91 MB / 478.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4263, allocations: 3.5 kB / 478.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4263, allocations: 0 / 478.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.4263, allocations: 3.281 kB / 478.3 MB, free: 9.383 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.009119/0.4354, allocations: 1.422 MB / 479.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4355, allocations: 11.36 kB / 479.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007163/0.4362, allocations: 94.47 kB / 479.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.4367, allocations: 389.1 kB / 480.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4368, allocations: 35.31 kB / 480.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.4369, allocations: 45.56 kB / 480.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.438, allocations: 0.6272 MB / 481 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.4381, allocations: 3.625 kB / 481 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.4381, allocations: 17.62 kB / 481 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4381, allocations: 13.16 kB / 481 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/0.4391, allocations: 0.5297 MB / 481.5 MB, free: 8.121 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.003422/0.4425, allocations: 3.805 MB / 485.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.4434, allocations: 413 kB / 485.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.4437, allocations: 214.6 kB / 485.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003356/0.4471, allocations: 3.459 MB / 489.4 MB, free: 17.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4471, allocations: 42.48 kB / 489.4 MB, free: 17.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.855e-06/0.4471, allocations: 0.7812 kB / 489.4 MB, free: 17.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.009529/0.4567, allocations: 2.023 MB / 491.5 MB, free: 16.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.4567, allocations: 57.38 kB / 491.5 MB, free: 16.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.4571, allocations: 304.5 kB / 491.8 MB, free: 16.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.4571, allocations: 33.02 kB / 491.8 MB, free: 16.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4573, allocations: 242.6 kB / 492.1 MB, free: 16.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4574, allocations: 187.9 kB / 492.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.4575, allocations: 119.3 kB / 492.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4577, allocations: 349.9 kB / 492.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.458, allocations: 180.8 kB / 492.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.4584, allocations: 328.5 kB / 493.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000675/0.459, allocations: 0.5489 MB / 493.8 MB, free: 14.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4591, allocations: 0.8125 kB / 493.8 MB, free: 14.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001177/0.4602, allocations: 0.6815 MB / 494.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4603, allocations: 8 kB / 494.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4603, allocations: 5.312 kB / 494.5 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.4704, allocations: 447.5 kB / 494.9 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.471, allocations: 144 kB / 495 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.4733, allocations: 3.083 MB / 498.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.4737, allocations: 18.25 kB / 498.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.4738, allocations: 31.67 kB / 498.2 MB, free: 10.67 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.0002779/0.4741, allocations: 187.2 kB / 498.4 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.4742, allocations: 47.47 kB / 498.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.4756, allocations: 1.058 MB / 499.5 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4756, allocations: 9.297 kB / 499.5 MB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4756, allocations: 4 kB / 499.5 MB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.4767, allocations: 1.086 MB / 0.4888 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.479, allocations: 1.728 MB / 0.4905 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.479, allocations: 5.719 kB / 0.4905 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.4794, allocations: 98.58 kB / 0.4906 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/0.4826, allocations: 349.7 kB / 0.4909 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.4826, allocations: 18.31 kB / 0.491 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007/0.4833, allocations: 1.145 MB / 0.4921 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4834, allocations: 4.031 kB / 0.4921 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.4848, allocations: 1.127 MB / 0.4932 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.485, allocations: 120.2 kB / 0.4933 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.485, allocations: 24.12 kB / 0.4933 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.4853, allocations: 12.97 kB / 0.4933 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.4854, allocations: 37.2 kB / 0.4934 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.4854, allocations: 26.48 kB / 0.4934 GB, free: 5.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.4857, allocations: 246.6 kB / 0.4936 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4857, allocations: 0 / 0.4936 GB, free: 5.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006482/0.4922, allocations: 0.9647 MB / 0.4946 GB, free: 4.145 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.03645/0.5287, allocations: 7.859 MB / 0.5023 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.5306, allocations: 0.7195 MB / 0.503 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.5306, allocations: 5.125 kB / 0.503 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.5312, allocations: 368.4 kB / 0.5033 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.5327, allocations: 270.6 kB / 0.5036 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.5349, allocations: 1.325 MB / 0.5049 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5353, allocations: 0.8682 MB / 0.5057 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.5359, allocations: 227.4 kB / 0.5059 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.536, allocations: 50.73 kB / 0.506 GB, free: 9.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.536, allocations: 4 kB / 0.506 GB, free: 9.312 MB / 414.1 MB Notification: Performance of Templates: time 0.05165/0.5876, allocations: 36.16 MB / 0.5413 GB, free: 5.402 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)