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.00108/0.00108, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008576/0.008577, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.361/1.361, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004325/0.0004326, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03374/0.2468, allocations: 36.51 MB / 363.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03323/0.2801, allocations: 31.07 MB / 394.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006255/0.2807, allocations: 7.938 kB / 394.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.2819, allocations: 346.3 kB / 395 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.2831, allocations: 0.5013 MB / 395.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.296, allocations: 4.163 MB / 399.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.2982, allocations: 2.038 MB / 401.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.2985, allocations: 123.3 kB / 401.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000686/0.2992, allocations: 466.2 kB / 402.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.2997, allocations: 442.1 kB / 402.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.2997, allocations: 28 kB / 402.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04855/0.3483, allocations: 35.3 MB / 438 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.3486, allocations: 123.6 kB / 438.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.3492, allocations: 316.5 kB / 438.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2415/0.5907, allocations: 26.12 MB / 464.5 MB, free: 48.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5908, allocations: 0 / 464.5 MB, free: 48.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5908, allocations: 0 / 464.5 MB, free: 48.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.5908, allocations: 0 / 464.5 MB, free: 48.43 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.01083/0.6016, allocations: 1.31 MB / 465.8 MB, free: 47.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6017, allocations: 12.34 kB / 465.9 MB, free: 47.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/0.6024, allocations: 95.06 kB / 466 MB, free: 47.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.6028, allocations: 376.7 kB / 466.3 MB, free: 47.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.6029, allocations: 36.47 kB / 466.4 MB, free: 47.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.6029, allocations: 46.19 kB / 466.4 MB, free: 47.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.6039, allocations: 0.6259 MB / 467 MB, free: 47.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.604, allocations: 11.59 kB / 467 MB, free: 47.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.604, allocations: 19.62 kB / 467.1 MB, free: 47.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.604, allocations: 13.53 kB / 467.1 MB, free: 47.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.6049, allocations: 0.5285 MB / 467.6 MB, free: 47.24 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.003097/0.608, allocations: 3.799 MB / 471.4 MB, free: 44.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.6088, allocations: 419.3 kB / 471.8 MB, free: 44.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.6091, allocations: 209.5 kB / 472 MB, free: 44.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002397/0.6115, allocations: 3.546 MB / 475.6 MB, free: 41.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.6116, allocations: 41.81 kB / 475.6 MB, free: 41.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.813e-06/0.6116, allocations: 0 / 475.6 MB, free: 41.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008399/0.62, allocations: 2.047 MB / 477.6 MB, free: 40.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.62, allocations: 58.12 kB / 477.7 MB, free: 40.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.6203, allocations: 311.3 kB / 478 MB, free: 40.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.6203, allocations: 38.98 kB / 478 MB, free: 40.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.6204, allocations: 225.7 kB / 478.3 MB, free: 40.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.6205, allocations: 198.5 kB / 478.5 MB, free: 40.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.6206, allocations: 55.88 kB / 478.5 MB, free: 40.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.6207, allocations: 352.6 kB / 478.9 MB, free: 39.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.6209, allocations: 180.7 kB / 479 MB, free: 39.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.6212, allocations: 333.5 kB / 479.4 MB, free: 39.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.6218, allocations: 0.5469 MB / 479.9 MB, free: 39.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6219, allocations: 0 / 479.9 MB, free: 39.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00102/0.6229, allocations: 0.6761 MB / 480.6 MB, free: 39.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6229, allocations: 11.23 kB / 480.6 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6229, allocations: 9.656 kB / 480.6 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008953/0.6319, allocations: 449.1 kB / 481 MB, free: 39.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.6324, allocations: 142.7 kB / 481.2 MB, free: 39.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.634, allocations: 2.994 MB / 484.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.6344, allocations: 51.59 kB / 484.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.6345, allocations: 29.62 kB / 484.3 MB, free: 36.59 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 (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.0002671/0.6348, allocations: 189.2 kB / 484.4 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.6348, allocations: 42.03 kB / 484.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.6363, allocations: 1.054 MB / 485.5 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.6363, allocations: 14.55 kB / 485.5 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6363, allocations: 0 / 485.5 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009581/0.6373, allocations: 1.086 MB / 486.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.639, allocations: 1.734 MB / 488.4 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.639, allocations: 1.469 kB / 488.4 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.6393, allocations: 101.1 kB / 488.5 MB, free: 35.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/0.6424, allocations: 355 kB / 488.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.6424, allocations: 16.98 kB / 488.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004398/0.6428, allocations: 1.149 MB / 490 MB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6429, allocations: 3.531 kB / 490 MB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.644, allocations: 1.129 MB / 491.1 MB, free: 34.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.6442, allocations: 139.2 kB / 491.2 MB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.6442, allocations: 12.45 kB / 491.3 MB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.6445, allocations: 38.97 kB / 491.3 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.6446, allocations: 35.53 kB / 491.3 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.6446, allocations: 25.5 kB / 491.4 MB, free: 34.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.6448, allocations: 252.3 kB / 491.6 MB, free: 34.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6448, allocations: 0 / 491.6 MB, free: 34.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007149/0.652, allocations: 0.9591 MB / 492.6 MB, free: 33.94 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 (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.04189/0.6939, allocations: 7.848 MB / 0.4887 GB, free: 27.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.6952, allocations: 0.7003 MB / 0.4894 GB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6953, allocations: 4 kB / 0.4894 GB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.6957, allocations: 366.9 kB / 0.4897 GB, free: 26.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.6972, allocations: 258.2 kB / 0.49 GB, free: 26.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.699, allocations: 1.651 MB / 0.4916 GB, free: 25.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.6992, allocations: 0.8693 MB / 0.4924 GB, free: 24.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004374/0.6996, allocations: 246.2 kB / 0.4927 GB, free: 24.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.6997, allocations: 45.92 kB / 0.4927 GB, free: 24.1 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6998, allocations: 4 kB / 0.4927 GB, free: 24.09 MB / 382.1 MB Notification: Performance of Templates: time 0.04272/0.7425, allocations: 35.42 MB / 0.5273 GB, free: 6.531 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)