Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001002/0.001003, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.00109/0.00109, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.342/1.342, allocations: 205.1 MB / 223.4 MB, free: 12.36 MB / 190.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.001139/0.001139, allocations: 47.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09779, allocations: 46.64 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03604/0.1339, allocations: 37.33 MB / 363.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2077/0.3416, allocations: 30.48 MB / 393.9 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.3423, allocations: 11.59 kB / 394 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.3435, allocations: 361.3 kB / 394.3 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009929/0.3445, allocations: 0.4884 MB / 394.8 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.3592, allocations: 4.524 MB / 399.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.361, allocations: 1.361 MB / 400.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.3613, allocations: 165.5 kB / 400.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.362, allocations: 0.5385 MB / 401.4 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.3625, allocations: 459.2 kB / 401.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.3626, allocations: 54.22 kB / 401.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04476/0.4074, allocations: 38.72 MB / 440.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.4078, allocations: 152.1 kB / 440.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.4084, allocations: 316.6 kB / 441.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05685/0.4653, allocations: 26.18 MB / 467.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.4653, allocations: 4.781 kB / 467.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4653, allocations: 0 / 467.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4653, allocations: 0 / 467.2 MB, free: 1.699 MB / 366.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.009026/0.4744, allocations: 1.419 MB / 468.7 MB, free: 244 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4744, allocations: 16.67 kB / 468.7 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/0.4753, allocations: 88.12 kB / 468.8 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.4759, allocations: 393.7 kB / 469.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.4759, allocations: 33.78 kB / 469.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.476, allocations: 48 kB / 469.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4772, allocations: 0.6213 MB / 469.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.4773, allocations: 7.875 kB / 469.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.4773, allocations: 24.81 kB / 469.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4774, allocations: 15.98 kB / 469.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009796/0.4783, allocations: 0.5199 MB / 470.4 MB, free: 14.42 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.004411/0.4828, allocations: 3.81 MB / 474.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/0.4837, allocations: 414.7 kB / 474.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.484, allocations: 205.3 kB / 474.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/0.4874, allocations: 3.462 MB / 478.3 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4875, allocations: 35.72 kB / 478.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.585e-06/0.4875, allocations: 0 / 478.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009674/0.4972, allocations: 2.023 MB / 480.4 MB, free: 3.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.4972, allocations: 59.84 kB / 480.4 MB, free: 3.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.4976, allocations: 308.4 kB / 480.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.4976, allocations: 39.05 kB / 480.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4978, allocations: 228.6 kB / 481 MB, free: 2.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4979, allocations: 191.7 kB / 481.2 MB, free: 2.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4981, allocations: 119.5 kB / 481.3 MB, free: 2.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4982, allocations: 354.7 kB / 481.6 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.4985, allocations: 178.6 kB / 481.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.4989, allocations: 333.8 kB / 482.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007423/0.4997, allocations: 0.5506 MB / 482.7 MB, free: 1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4997, allocations: 4 kB / 482.7 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001253/0.5009, allocations: 0.6679 MB / 483.3 MB, free: 324 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.501, allocations: 8 kB / 483.4 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.501, allocations: 7.984 kB / 483.4 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009917/0.5109, allocations: 445.5 kB / 483.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.5116, allocations: 139.8 kB / 483.9 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.5136, allocations: 3.1 MB / 487 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.514, allocations: 52.06 kB / 487.1 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.5141, allocations: 28 kB / 487.1 MB, free: 12.34 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.0002589/0.5144, allocations: 189.7 kB / 487.3 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5145, allocations: 43.47 kB / 487.3 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.516, allocations: 1.052 MB / 488.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5161, allocations: 8 kB / 488.4 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.5161, allocations: 0 / 488.4 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.5172, allocations: 1.091 MB / 489.5 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.5193, allocations: 1.736 MB / 491.2 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5194, allocations: 0 / 491.2 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.5198, allocations: 103.8 kB / 491.3 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003268/0.523, allocations: 349.1 kB / 491.7 MB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.5231, allocations: 12 kB / 491.7 MB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000685/0.5238, allocations: 1.144 MB / 492.8 MB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5238, allocations: 0 / 492.8 MB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5252, allocations: 1.135 MB / 494 MB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.5254, allocations: 128.5 kB / 494.1 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.5255, allocations: 12 kB / 494.1 MB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.5258, allocations: 35.77 kB / 494.1 MB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.5258, allocations: 36.52 kB / 494.2 MB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.5259, allocations: 23.98 kB / 494.2 MB, free: 5.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.5261, allocations: 243 kB / 494.4 MB, free: 4.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5262, allocations: 0 / 494.4 MB, free: 4.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005577/0.5317, allocations: 0.9683 MB / 495.4 MB, free: 3.812 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.04203/0.5738, allocations: 7.869 MB / 0.4915 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.5758, allocations: 0.743 MB / 0.4922 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5758, allocations: 0 / 0.4922 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.5764, allocations: 368.6 kB / 0.4925 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5778, allocations: 268.9 kB / 0.4928 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.58, allocations: 1.557 MB / 0.4943 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.5804, allocations: 0.8724 MB / 0.4952 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000522/0.5809, allocations: 240.1 kB / 0.4954 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.581, allocations: 47.38 kB / 0.4954 GB, free: 7.961 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.581, allocations: 0 / 0.4954 GB, free: 7.961 MB / 414.1 MB Notification: Performance of Templates: time 0.04886/0.6299, allocations: 35.98 MB / 0.5306 GB, free: 3.941 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)