Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001615/0.001615, allocations: 195 kB / 16.14 MB, free: 6.707 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.428/1.428, allocations: 205.1 MB / 222 MB, free: 4.777 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.001154/0.001155, allocations: 47.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2178, allocations: 46.63 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02649/0.2443, allocations: 26.33 MB / 351 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02618/0.2706, allocations: 25.63 MB / 376.6 MB, free: 32 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.271, allocations: 8 kB / 376.6 MB, free: 24 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.2719, allocations: 246.8 kB / 376.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007718/0.2727, allocations: 358.1 kB / 377.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.2829, allocations: 3.237 MB / 380.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.2844, allocations: 1.399 MB / 381.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.2846, allocations: 96.95 kB / 382 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.2852, allocations: 330.7 kB / 382.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.2855, allocations: 310.8 kB / 382.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.2856, allocations: 20 kB / 382.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04135/0.3269, allocations: 27.65 MB / 410.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.3272, allocations: 87.7 kB / 410.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.3277, allocations: 215.1 kB / 410.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05692/0.3846, allocations: 20.15 MB / 430.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3847, allocations: 4 kB / 430.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3847, allocations: 0 / 430.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3847, allocations: 0 / 430.7 MB, free: 9.734 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006195/0.3909, allocations: 1.139 MB / 431.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.391, allocations: 8.031 kB / 431.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005502/0.3915, allocations: 71.52 kB / 431.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.3919, allocations: 314.3 kB / 432.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3919, allocations: 24.66 kB / 432.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.392, allocations: 35.98 kB / 432.3 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.3928, allocations: 459.8 kB / 432.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3929, allocations: 4 kB / 432.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.3929, allocations: 16 kB / 432.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3929, allocations: 19.86 kB / 432.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.3936, allocations: 382.3 kB / 433.2 MB, free: 7.164 MB / 366.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.003226/0.3969, allocations: 2.941 MB / 436.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.3975, allocations: 294.8 kB / 436.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.3977, allocations: 132.8 kB / 436.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.3999, allocations: 2.474 MB / 439 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3999, allocations: 34.56 kB / 439 MB, free: 0.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.3999, allocations: 0 / 439 MB, free: 0.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005253/0.4052, allocations: 1.297 MB / 440.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.4052, allocations: 55.41 kB / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.4055, allocations: 270.4 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4055, allocations: 29.7 kB / 440.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4057, allocations: 192.1 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.4058, allocations: 122.2 kB / 441 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.4059, allocations: 78.12 kB / 441 MB, free: 14.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.406, allocations: 338.8 kB / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.4062, allocations: 112.8 kB / 441.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.4065, allocations: 237.9 kB / 441.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.407, allocations: 373.5 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.407, allocations: 4 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007961/0.4078, allocations: 454.5 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4079, allocations: 4.625 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4079, allocations: 4 kB / 442.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/0.413, allocations: 237.9 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.4133, allocations: 95.77 kB / 442.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.4147, allocations: 1.84 MB / 444.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.415, allocations: 27.89 kB / 444.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.4151, allocations: 24.16 kB / 444.8 MB, free: 10.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.000195/0.4153, allocations: 173.6 kB / 444.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.4154, allocations: 31.62 kB / 445 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.4164, allocations: 0.6929 MB / 445.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.4164, allocations: 4 kB / 445.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.4164, allocations: 3.938 kB / 445.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008568/0.4173, allocations: 0.8679 MB / 446.5 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.4188, allocations: 1.186 MB / 447.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4189, allocations: 8 kB / 447.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.4191, allocations: 59.97 kB / 447.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.4208, allocations: 172.5 kB / 447.9 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.4209, allocations: 11.98 kB / 448 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003244/0.4212, allocations: 0.5719 MB / 448.5 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4212, allocations: 0 / 448.5 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/0.4222, allocations: 0.7417 MB / 449.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4223, allocations: 104.7 kB / 449.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.4223, allocations: 16.16 kB / 449.4 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.4226, allocations: 23.83 kB / 449.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.4227, allocations: 23.72 kB / 449.4 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.4227, allocations: 19.92 kB / 449.5 MB, free: 5.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.4229, allocations: 218 kB / 449.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.423, allocations: 0 / 449.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004631/0.4276, allocations: 0.7457 MB / 450.4 MB, free: 4.508 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1778/0.6054, allocations: 6.378 MB / 456.8 MB, free: 110.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.6064, allocations: 476.3 kB / 457.3 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6065, allocations: 0 / 457.3 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.6068, allocations: 228.8 kB / 457.5 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.608, allocations: 192.1 kB / 457.7 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6095, allocations: 1.043 MB / 458.7 MB, free: 110 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.6098, allocations: 0.8075 MB / 459.5 MB, free: 109.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.6102, allocations: 200.9 kB / 459.7 MB, free: 109.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.6103, allocations: 34.62 kB / 459.8 MB, free: 109.3 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6103, allocations: 0 / 459.8 MB, free: 109.3 MB / 382.1 MB Notification: Performance of Templates: time 0.03291/0.6432, allocations: 28.59 MB / 488.3 MB, free: 86.67 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)