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.004763/0.004763, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001107/0.001107, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001197/0.001197, allocations: 51.94 kB / 326.6 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.0884, allocations: 46.62 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.214/0.3024, allocations: 37.66 MB / 410.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03151/0.334, allocations: 30.6 MB / 441.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.3347, allocations: 8 kB / 441.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.3361, allocations: 429.7 kB / 441.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.3376, allocations: 0.5322 MB / 442.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01546/0.3531, allocations: 5.225 MB / 447.6 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.3549, allocations: 1.355 MB / 449 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.3552, allocations: 170.5 kB / 449.1 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.3563, allocations: 0.541 MB / 449.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.357, allocations: 442.3 kB / 450.1 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.3571, allocations: 55.94 kB / 450.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02754/0.3846, allocations: 12.8 MB / 463 MB, free: 5.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.385, allocations: 147.5 kB / 463.1 MB, free: 5.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007045/0.3857, allocations: 322.8 kB / 463.4 MB, free: 5.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03836/0.4241, allocations: 14.92 MB / 478.3 MB, free: 6.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4242, allocations: 0 / 478.3 MB, free: 6.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4242, allocations: 0 / 478.3 MB, free: 6.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.4242, allocations: 0 / 478.3 MB, free: 6.258 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.008488/0.4327, allocations: 1.42 MB / 479.8 MB, free: 4.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4328, allocations: 11.89 kB / 479.8 MB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/0.4336, allocations: 87.39 kB / 479.9 MB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.4343, allocations: 405.8 kB / 480.3 MB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.4344, allocations: 37 kB / 480.3 MB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.4345, allocations: 40 kB / 480.3 MB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.4358, allocations: 0.6205 MB / 481 MB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.4358, allocations: 11.84 kB / 481 MB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.4359, allocations: 20 kB / 481 MB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.4359, allocations: 12 kB / 481 MB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.4369, allocations: 0.5307 MB / 481.5 MB, free: 2.938 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.004289/0.4412, allocations: 3.792 MB / 485.3 MB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.4423, allocations: 415.7 kB / 485.7 MB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.4426, allocations: 217.2 kB / 485.9 MB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003093/0.4457, allocations: 3.463 MB / 489.4 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4458, allocations: 35.81 kB / 489.4 MB, free: 10 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.495e-06/0.4458, allocations: 0 / 489.4 MB, free: 10 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009552/0.4554, allocations: 2.024 MB / 491.5 MB, free: 7.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4554, allocations: 63.78 kB / 491.5 MB, free: 7.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.4558, allocations: 308.4 kB / 491.8 MB, free: 7.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.4558, allocations: 37.7 kB / 491.9 MB, free: 7.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.456, allocations: 232.6 kB / 492.1 MB, free: 7.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.4562, allocations: 197.2 kB / 492.3 MB, free: 7.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.4564, allocations: 114.3 kB / 492.4 MB, free: 6.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4565, allocations: 350.8 kB / 492.7 MB, free: 6.574 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.4568, allocations: 177.2 kB / 492.9 MB, free: 6.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.4573, allocations: 332.1 kB / 493.2 MB, free: 6.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.4581, allocations: 0.5512 MB / 493.8 MB, free: 5.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4581, allocations: 8 kB / 493.8 MB, free: 5.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001359/0.4595, allocations: 0.6621 MB / 494.5 MB, free: 4.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.4595, allocations: 8 kB / 494.5 MB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.4596, allocations: 7.938 kB / 494.5 MB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009199/0.4688, allocations: 446.2 kB / 494.9 MB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.4694, allocations: 143.8 kB / 495 MB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.4716, allocations: 3.085 MB / 498.1 MB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.4719, allocations: 19.94 kB / 498.1 MB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.472, allocations: 31.98 kB / 498.2 MB, free: 0.7695 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.0002779/0.4723, allocations: 191.2 kB / 498.4 MB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4724, allocations: 43.44 kB / 498.4 MB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.474, allocations: 1.053 MB / 499.5 MB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.474, allocations: 11.98 kB / 499.5 MB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.474, allocations: 1.75 kB / 499.5 MB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.4752, allocations: 1.095 MB / 0.4888 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.4775, allocations: 1.725 MB / 0.4905 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.4775, allocations: 0 / 0.4905 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.4779, allocations: 99.89 kB / 0.4906 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/0.481, allocations: 349 kB / 0.491 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.481, allocations: 19.98 kB / 0.491 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007385/0.4818, allocations: 1.148 MB / 0.4921 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.4818, allocations: 3.984 kB / 0.4921 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.4834, allocations: 1.128 MB / 0.4932 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.4835, allocations: 120.5 kB / 0.4933 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.4836, allocations: 16 kB / 0.4933 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.4839, allocations: 14 kB / 0.4933 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.4839, allocations: 40.64 kB / 0.4934 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.484, allocations: 23.98 kB / 0.4934 GB, free: 9.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.4843, allocations: 247 kB / 0.4936 GB, free: 9.203 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4843, allocations: 0 / 0.4936 GB, free: 9.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006733/0.491, allocations: 0.9644 MB / 0.4946 GB, free: 8.238 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.03062/0.5217, allocations: 7.863 MB / 0.5023 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.5235, allocations: 0.724 MB / 0.503 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5235, allocations: 0 / 0.503 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.5242, allocations: 371.4 kB / 0.5033 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.5256, allocations: 265 kB / 0.5036 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.5279, allocations: 1.317 MB / 0.5049 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.5284, allocations: 0.8687 MB / 0.5057 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005165/0.5289, allocations: 236.1 kB / 0.5059 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.529, allocations: 51.44 kB / 0.506 GB, free: 12.48 MB / 446.1 MB Notification: Performance of SimCode: time 6.02e-07/0.5291, allocations: 0 / 0.506 GB, free: 12.48 MB / 446.1 MB Notification: Performance of Templates: time 0.05254/0.5816, allocations: 36.17 MB / 0.5413 GB, free: 8.223 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)