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.0009184/0.0009184, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009925/0.0009926, allocations: 168.7 kB / 15.95 MB, free: 204 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.43/1.43, 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.0004482/0.0004482, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03334/0.2662, allocations: 34.76 MB / 361.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.03149/0.2977, allocations: 28.14 MB / 389.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006395/0.2984, allocations: 4 kB / 389.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.2995, allocations: 318.2 kB / 389.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3008, allocations: 481.4 kB / 390.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.3151, allocations: 3.836 MB / 394 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.3174, allocations: 1.706 MB / 395.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.3177, allocations: 118.3 kB / 395.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.3188, allocations: 474.2 kB / 396.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008077/0.3197, allocations: 426.3 kB / 396.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3198, allocations: 28 kB / 396.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08749/0.4073, allocations: 51.74 MB / 448.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.4076, allocations: 115.6 kB / 448.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.4079, allocations: 141.5 kB / 448.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2158/0.6238, allocations: 13.87 MB / 462.6 MB, free: 50.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6238, allocations: 2.734 kB / 462.6 MB, free: 50.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.6238, allocations: 0 / 462.6 MB, free: 50.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.6239, allocations: 2.812 kB / 462.6 MB, free: 50.94 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.01118/0.635, allocations: 1.321 MB / 463.9 MB, free: 50.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6351, allocations: 7.281 kB / 463.9 MB, free: 50.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/0.6358, allocations: 90.97 kB / 464 MB, free: 50.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.6363, allocations: 380 kB / 464.4 MB, free: 49.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.6363, allocations: 32 kB / 464.4 MB, free: 49.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.6364, allocations: 47.7 kB / 464.4 MB, free: 49.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009987/0.6374, allocations: 0.6238 MB / 465.1 MB, free: 49.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6374, allocations: 7.25 kB / 465.1 MB, free: 49.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.6375, allocations: 18.62 kB / 465.1 MB, free: 49.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.6375, allocations: 12.53 kB / 465.1 MB, free: 49.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008219/0.6383, allocations: 0.5202 MB / 465.6 MB, free: 49.8 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.003286/0.6416, allocations: 3.811 MB / 469.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.6425, allocations: 414.3 kB / 469.8 MB, free: 47.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.6428, allocations: 207.9 kB / 470 MB, free: 47.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002482/0.6453, allocations: 3.543 MB / 473.6 MB, free: 43.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.6453, allocations: 42.97 kB / 473.6 MB, free: 43.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.297e-06/0.6453, allocations: 2 kB / 473.6 MB, free: 43.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.00835/0.6537, allocations: 2.042 MB / 475.7 MB, free: 43.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.6537, allocations: 57.75 kB / 475.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.654, allocations: 305 kB / 476 MB, free: 43.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.654, allocations: 38.08 kB / 476.1 MB, free: 43.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.6542, allocations: 231.3 kB / 476.3 MB, free: 42.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.6543, allocations: 194.3 kB / 476.5 MB, free: 42.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.6543, allocations: 13.72 kB / 476.5 MB, free: 42.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.6544, allocations: 351.4 kB / 476.8 MB, free: 42.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.6546, allocations: 175.8 kB / 477 MB, free: 42.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.655, allocations: 329.7 kB / 477.3 MB, free: 42.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.6553, allocations: 238.2 kB / 477.6 MB, free: 42.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6553, allocations: 0 / 477.6 MB, free: 42.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00101/0.6563, allocations: 0.6643 MB / 478.2 MB, free: 42.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6563, allocations: 10.06 kB / 478.2 MB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6564, allocations: 3.406 kB / 478.2 MB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008028/0.6644, allocations: 456.7 kB / 478.7 MB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.665, allocations: 144.2 kB / 478.8 MB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.6663, allocations: 2.984 MB / 481.8 MB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.6667, allocations: 51.44 kB / 481.9 MB, free: 39.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.6668, allocations: 31.44 kB / 481.9 MB, free: 39.32 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.0002481/0.667, allocations: 190 kB / 482.1 MB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.6671, allocations: 42.78 kB / 482.1 MB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.6684, allocations: 1.057 MB / 483.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.6684, allocations: 11.27 kB / 483.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6684, allocations: 4.891 kB / 483.2 MB, free: 39.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008917/0.6693, allocations: 1.093 MB / 484.3 MB, free: 38.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.6711, allocations: 1.729 MB / 486 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.6712, allocations: 0.875 kB / 486 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.6715, allocations: 101.7 kB / 486.1 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/0.6741, allocations: 358.8 kB / 486.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.6742, allocations: 18.78 kB / 486.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004888/0.6747, allocations: 1.146 MB / 487.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6747, allocations: 64 / 487.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.6759, allocations: 1.135 MB / 488.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.676, allocations: 144.6 kB / 488.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.6761, allocations: 6.812 kB / 488.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.6763, allocations: 31.69 kB / 488.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.6764, allocations: 36.12 kB / 489 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.6765, allocations: 22 kB / 489 MB, free: 36.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.6767, allocations: 247.6 kB / 489.2 MB, free: 36.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6767, allocations: 4 kB / 489.2 MB, free: 36.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.008925/0.6856, allocations: 0.9566 MB / 490.2 MB, free: 36.67 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.04786/0.7335, allocations: 7.863 MB / 498.1 MB, free: 31.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.735, allocations: 0.7055 MB / 498.8 MB, free: 31.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.735, allocations: 0 / 498.8 MB, free: 31.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.7355, allocations: 359.4 kB / 499.1 MB, free: 30.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.7368, allocations: 258.1 kB / 499.4 MB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.7387, allocations: 1.617 MB / 0.4893 GB, free: 29.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.7389, allocations: 0.8644 MB / 0.4901 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.7394, allocations: 234.5 kB / 0.4903 GB, free: 28.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.7395, allocations: 49.88 kB / 0.4904 GB, free: 28.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.7395, allocations: 0 / 0.4904 GB, free: 28.48 MB / 382.1 MB Notification: Performance of Templates: time 0.04173/0.7813, allocations: 34.99 MB / 0.5245 GB, free: 11.47 MB / 398.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)