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.00732/0.00732, allocations: 101.3 kB / 15.73 MB, free: 5.492 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.001531/0.001531, allocations: 188.8 kB / 16.67 MB, free: 5.422 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.316/1.316, allocations: 205.1 MB / 222.5 MB, free: 12.2 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.001172/0.001172, allocations: 56.39 kB / 326.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08571, allocations: 46.62 MB / 373.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2207/0.3064, allocations: 37.65 MB / 410.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03364/0.3401, allocations: 30.6 MB / 441.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008029/0.3409, allocations: 11.88 kB / 441.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.3425, allocations: 401.7 kB / 441.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.3441, allocations: 0.5166 MB / 442.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01642/0.3605, allocations: 5.135 MB / 447.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.3624, allocations: 1.351 MB / 448.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.3627, allocations: 174.5 kB / 449 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000832/0.3636, allocations: 0.5372 MB / 449.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.3641, allocations: 442.2 kB / 450 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.907e-05/0.3642, allocations: 52 kB / 450 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0253/0.3895, allocations: 12.8 MB / 462.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.3899, allocations: 151.6 kB / 463 MB, free: 5.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006836/0.3906, allocations: 318.8 kB / 463.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03735/0.428, allocations: 14.91 MB / 478.2 MB, free: 6.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.4281, allocations: 0 / 478.2 MB, free: 6.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.585e-06/0.4281, allocations: 0 / 478.2 MB, free: 6.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.4281, allocations: 3.938 kB / 478.2 MB, free: 6.355 MB / 398.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.008621/0.4367, allocations: 1.42 MB / 479.6 MB, free: 4.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4368, allocations: 11.89 kB / 479.6 MB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.4375, allocations: 95.39 kB / 479.7 MB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.4381, allocations: 393.8 kB / 480.1 MB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.4382, allocations: 37 kB / 480.1 MB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.4383, allocations: 48 kB / 480.2 MB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.4394, allocations: 0.6205 MB / 480.8 MB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.4395, allocations: 3.906 kB / 480.8 MB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.4395, allocations: 28 kB / 480.8 MB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.4395, allocations: 12 kB / 480.9 MB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009782/0.4405, allocations: 0.5229 MB / 481.4 MB, free: 3.039 MB / 398.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.004311/0.4448, allocations: 3.799 MB / 485.2 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009385/0.4458, allocations: 420.6 kB / 485.6 MB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.4461, allocations: 217.2 kB / 485.8 MB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003049/0.4492, allocations: 3.459 MB / 489.3 MB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4492, allocations: 38.94 kB / 489.3 MB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.4492, allocations: 0 / 489.3 MB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009318/0.4586, allocations: 2.028 MB / 491.3 MB, free: 7.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.4586, allocations: 55.84 kB / 491.4 MB, free: 7.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.459, allocations: 312.4 kB / 491.7 MB, free: 7.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.459, allocations: 41.7 kB / 491.7 MB, free: 7.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.4592, allocations: 228.6 kB / 491.9 MB, free: 7.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4593, allocations: 193.2 kB / 492.1 MB, free: 7.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.4595, allocations: 114.3 kB / 492.2 MB, free: 7.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4596, allocations: 346.8 kB / 492.6 MB, free: 6.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.4599, allocations: 181.2 kB / 492.8 MB, free: 6.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.4603, allocations: 336 kB / 493.1 MB, free: 6.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.4611, allocations: 0.5513 MB / 493.6 MB, free: 5.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4611, allocations: 0 / 493.6 MB, free: 5.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001202/0.4623, allocations: 0.6658 MB / 494.3 MB, free: 4.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4623, allocations: 4 kB / 494.3 MB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4623, allocations: 7.938 kB / 494.3 MB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00954/0.4719, allocations: 458.4 kB / 494.8 MB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.4725, allocations: 139.8 kB / 494.9 MB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.4746, allocations: 3.081 MB / 498 MB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.4749, allocations: 23.94 kB / 498 MB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.475, allocations: 27.98 kB / 498 MB, free: 0.8633 MB / 414.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.0002562/0.4752, allocations: 191.1 kB / 498.2 MB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4754, allocations: 49.44 kB / 498.3 MB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.4769, allocations: 1.049 MB / 499.3 MB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.477, allocations: 7.984 kB / 499.3 MB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.477, allocations: 4 kB / 499.3 MB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/0.4782, allocations: 1.095 MB / 0.4887 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.4804, allocations: 1.729 MB / 0.4904 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.4804, allocations: 4 kB / 0.4904 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.4808, allocations: 99.83 kB / 0.4905 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/0.4839, allocations: 353 kB / 0.4908 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.4839, allocations: 19.98 kB / 0.4908 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.4846, allocations: 1.144 MB / 0.492 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4846, allocations: 11.91 kB / 0.492 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.486, allocations: 1.117 MB / 0.4931 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.4861, allocations: 120.5 kB / 0.4932 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.4862, allocations: 12 kB / 0.4932 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.4865, allocations: 21.84 kB / 0.4932 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.4865, allocations: 36.55 kB / 0.4932 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.4866, allocations: 23.98 kB / 0.4933 GB, free: 9.535 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.4868, allocations: 247 kB / 0.4935 GB, free: 9.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4869, allocations: 4 kB / 0.4935 GB, free: 9.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006357/0.4932, allocations: 0.9565 MB / 0.4944 GB, free: 8.332 MB / 430.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.03071/0.524, allocations: 7.867 MB / 0.5021 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.5257, allocations: 0.7241 MB / 0.5028 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5257, allocations: 7.938 kB / 0.5028 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.5263, allocations: 367.4 kB / 0.5032 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.5278, allocations: 257 kB / 0.5034 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.53, allocations: 1.314 MB / 0.5047 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.5304, allocations: 0.8648 MB / 0.5056 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004728/0.5308, allocations: 236.2 kB / 0.5058 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5309, allocations: 47.44 kB / 0.5058 GB, free: 12.58 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.531, allocations: 0 / 0.5058 GB, free: 12.58 MB / 446.1 MB Notification: Performance of Templates: time 0.05041/0.5814, allocations: 36.19 MB / 0.5412 GB, free: 8.305 MB / 478.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)