Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0007817/0.0007817, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005095/0.005095, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.356/1.356, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.0004418/0.000442, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 47.58 MB / 327 MB, free: 1.543 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03519/0.2466, allocations: 36.51 MB / 363.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03234/0.279, allocations: 31.09 MB / 394.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.2796, allocations: 4 kB / 394.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2807, allocations: 346.2 kB / 395 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.2819, allocations: 0.5013 MB / 395.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01358/0.2955, allocations: 4.151 MB / 399.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.2978, allocations: 2.034 MB / 401.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.2981, allocations: 127.3 kB / 401.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.2989, allocations: 454.2 kB / 402.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.2995, allocations: 462.1 kB / 402.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.2995, allocations: 24 kB / 402.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04909/0.3486, allocations: 35.3 MB / 438 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.3489, allocations: 123.6 kB / 438.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004704/0.3494, allocations: 320.4 kB / 438.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2538/0.6032, allocations: 26.11 MB / 464.5 MB, free: 48.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6032, allocations: 4.781 kB / 464.5 MB, free: 48.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6032, allocations: 0 / 464.5 MB, free: 48.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.6033, allocations: 0 / 464.5 MB, free: 48.52 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.01066/0.6139, allocations: 1.309 MB / 465.8 MB, free: 47.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.614, allocations: 10.28 kB / 465.9 MB, free: 47.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.6147, allocations: 97.91 kB / 466 MB, free: 47.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.6151, allocations: 379.5 kB / 466.3 MB, free: 47.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.6151, allocations: 37.61 kB / 466.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.6152, allocations: 47.53 kB / 466.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009727/0.6162, allocations: 0.6256 MB / 467 MB, free: 47.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.6162, allocations: 6.281 kB / 467 MB, free: 47.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.6163, allocations: 22.44 kB / 467.1 MB, free: 47.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.6163, allocations: 15.53 kB / 467.1 MB, free: 47.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.6171, allocations: 0.5248 MB / 467.6 MB, free: 47.33 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.002919/0.62, allocations: 3.794 MB / 471.4 MB, free: 44.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.6208, allocations: 420.3 kB / 471.8 MB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.621, allocations: 213.1 kB / 472 MB, free: 44.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002324/0.6234, allocations: 3.546 MB / 475.6 MB, free: 41.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.6234, allocations: 39.16 kB / 475.6 MB, free: 41.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.014e-06/0.6234, allocations: 0 / 475.6 MB, free: 41.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008482/0.6319, allocations: 2.046 MB / 477.6 MB, free: 40.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.6319, allocations: 59.09 kB / 477.7 MB, free: 40.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.6322, allocations: 316.6 kB / 478 MB, free: 40.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.6322, allocations: 37.02 kB / 478 MB, free: 40.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.6323, allocations: 227 kB / 478.3 MB, free: 40.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.831e-05/0.6324, allocations: 198.5 kB / 478.5 MB, free: 40.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.6325, allocations: 54.66 kB / 478.5 MB, free: 40.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.6326, allocations: 351.3 kB / 478.9 MB, free: 40 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.6328, allocations: 183.8 kB / 479 MB, free: 40 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.6332, allocations: 332.8 kB / 479.4 MB, free: 39.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.6338, allocations: 0.5478 MB / 479.9 MB, free: 39.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6338, allocations: 3.156 kB / 479.9 MB, free: 39.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001028/0.6348, allocations: 0.6703 MB / 480.6 MB, free: 39.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6348, allocations: 12.39 kB / 480.6 MB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.6348, allocations: 6.281 kB / 480.6 MB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009134/0.644, allocations: 453.8 kB / 481 MB, free: 39.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.6445, allocations: 141.1 kB / 481.2 MB, free: 39.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.6458, allocations: 2.992 MB / 484.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.6463, allocations: 47.08 kB / 484.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.6464, allocations: 28.34 kB / 484.2 MB, free: 36.69 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.0002158/0.6466, allocations: 189.6 kB / 484.4 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.6467, allocations: 46.31 kB / 484.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.6479, allocations: 1.053 MB / 485.5 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.6479, allocations: 10.22 kB / 485.5 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6479, allocations: 3.75 kB / 485.5 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008254/0.6487, allocations: 1.091 MB / 486.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.6504, allocations: 1.732 MB / 488.4 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6504, allocations: 5.25 kB / 488.4 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.6508, allocations: 103.8 kB / 488.5 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003035/0.6538, allocations: 352.3 kB / 488.8 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.6538, allocations: 18.73 kB / 488.8 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004117/0.6543, allocations: 1.147 MB / 490 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6543, allocations: 3.969 kB / 490 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.6554, allocations: 1.133 MB / 491.1 MB, free: 34.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6555, allocations: 137.2 kB / 491.3 MB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.6556, allocations: 14.53 kB / 491.3 MB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.6559, allocations: 32.58 kB / 491.3 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.6559, allocations: 37.55 kB / 491.3 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.656, allocations: 21.08 kB / 491.4 MB, free: 34.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.6562, allocations: 251.4 kB / 491.6 MB, free: 34.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6562, allocations: 0 / 491.6 MB, free: 34.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006708/0.6629, allocations: 0.9602 MB / 492.6 MB, free: 34.04 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.0444/0.7073, allocations: 7.853 MB / 0.4887 GB, free: 27.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.7087, allocations: 0.6977 MB / 0.4894 GB, free: 26.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7087, allocations: 4 kB / 0.4894 GB, free: 26.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.7092, allocations: 368.1 kB / 0.4897 GB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.7107, allocations: 250.5 kB / 0.49 GB, free: 26.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.7125, allocations: 1.655 MB / 0.4916 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.7127, allocations: 0.8676 MB / 0.4924 GB, free: 24.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.7132, allocations: 251 kB / 0.4927 GB, free: 24.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.7133, allocations: 47.38 kB / 0.4927 GB, free: 24.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.7133, allocations: 0 / 0.4927 GB, free: 24.27 MB / 382.1 MB Notification: Performance of Templates: time 0.04274/0.7561, allocations: 35.43 MB / 0.5273 GB, free: 6.672 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)