Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00141/0.00141, allocations: 105.6 kB / 17.06 MB, free: 6.145 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.001598/0.001598, allocations: 195 kB / 18 MB, free: 5.219 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.44/1.44, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001278/0.001278, allocations: 51.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.0872, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2183/0.3056, allocations: 37.65 MB / 412.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03455/0.3402, allocations: 30.6 MB / 442.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000731/0.3409, allocations: 8 kB / 442.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.3425, allocations: 409.7 kB / 443.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.3441, allocations: 0.5166 MB / 443.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01733/0.3615, allocations: 5.13 MB / 448.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.3634, allocations: 1.348 MB / 450.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.3637, allocations: 182.4 kB / 450.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3648, allocations: 0.5372 MB / 450.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007146/0.3655, allocations: 434.3 kB / 451.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.611e-05/0.3656, allocations: 52 kB / 451.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02611/0.3917, allocations: 12.8 MB / 464.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.392, allocations: 147.5 kB / 464.3 MB, free: 5.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.3926, allocations: 322.8 kB / 464.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03592/0.4285, allocations: 14.91 MB / 479.5 MB, free: 6.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4286, allocations: 0 / 479.5 MB, free: 6.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4286, allocations: 0 / 479.5 MB, free: 6.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4286, allocations: 0 / 479.5 MB, free: 6.387 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.007932/0.4365, allocations: 1.432 MB / 481 MB, free: 4.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4366, allocations: 11.89 kB / 481 MB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006797/0.4373, allocations: 87.39 kB / 481 MB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.4379, allocations: 397.8 kB / 481.4 MB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.4379, allocations: 33 kB / 481.5 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.438, allocations: 44 kB / 481.5 MB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.4392, allocations: 0.6244 MB / 482.1 MB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4392, allocations: 11.91 kB / 482.1 MB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.4393, allocations: 16 kB / 482.2 MB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4393, allocations: 12 kB / 482.2 MB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00096/0.4402, allocations: 0.5307 MB / 482.7 MB, free: 3.062 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.004188/0.4444, allocations: 3.799 MB / 486.5 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/0.4453, allocations: 403.8 kB / 486.9 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.4457, allocations: 225.1 kB / 487.1 MB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003136/0.4488, allocations: 3.459 MB / 490.6 MB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4488, allocations: 34.94 kB / 490.6 MB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.024e-06/0.4489, allocations: 0 / 490.6 MB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009064/0.4579, allocations: 2.028 MB / 492.6 MB, free: 8.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.458, allocations: 59.84 kB / 492.7 MB, free: 7.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.4583, allocations: 312.4 kB / 493 MB, free: 7.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.4584, allocations: 41.69 kB / 493 MB, free: 7.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.4585, allocations: 232.6 kB / 493.3 MB, free: 7.359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.4587, allocations: 185.2 kB / 493.5 MB, free: 7.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.4588, allocations: 114.3 kB / 493.6 MB, free: 7.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.459, allocations: 354.8 kB / 493.9 MB, free: 6.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.4593, allocations: 178.1 kB / 494.1 MB, free: 6.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.4598, allocations: 332 kB / 494.4 MB, free: 6.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.4606, allocations: 0.5513 MB / 495 MB, free: 5.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4606, allocations: 4 kB / 495 MB, free: 5.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001254/0.4618, allocations: 0.6657 MB / 495.6 MB, free: 4.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4619, allocations: 8 kB / 495.6 MB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4619, allocations: 7.938 kB / 495.6 MB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008829/0.4707, allocations: 450.6 kB / 496.1 MB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.4713, allocations: 139.8 kB / 496.2 MB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.4735, allocations: 3.089 MB / 499.3 MB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.4738, allocations: 15.94 kB / 499.3 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.4738, allocations: 35.98 kB / 499.4 MB, free: 0.8906 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.0002418/0.4741, allocations: 185.8 kB / 499.5 MB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4742, allocations: 47.44 kB / 499.6 MB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.4758, allocations: 1.054 MB / 0.4889 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.4758, allocations: 11.98 kB / 0.4889 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4758, allocations: 1.75 kB / 0.4889 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001245/0.477, allocations: 1.095 MB / 0.49 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.4793, allocations: 1.729 MB / 0.4917 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4793, allocations: 0 / 0.4917 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.4797, allocations: 99.89 kB / 0.4918 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003081/0.4828, allocations: 349 kB / 0.4921 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.4829, allocations: 15.98 kB / 0.4921 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006915/0.4836, allocations: 1.148 MB / 0.4932 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4836, allocations: 3.938 kB / 0.4932 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.4852, allocations: 1.128 MB / 0.4944 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.4853, allocations: 120.7 kB / 0.4945 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.4854, allocations: 16 kB / 0.4945 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.4857, allocations: 15.94 kB / 0.4945 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.4857, allocations: 38.61 kB / 0.4945 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.4858, allocations: 19.98 kB / 0.4946 GB, free: 9.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.4861, allocations: 251 kB / 0.4948 GB, free: 9.328 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4861, allocations: 0 / 0.4948 GB, free: 9.328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005603/0.4917, allocations: 0.9604 MB / 0.4957 GB, free: 8.367 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.02925/0.5209, allocations: 7.873 MB / 0.5034 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.523, allocations: 0.7202 MB / 0.5041 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.523, allocations: 0 / 0.5041 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006301/0.5236, allocations: 371.4 kB / 0.5045 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.5251, allocations: 268.9 kB / 0.5047 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.5273, allocations: 1.313 MB / 0.506 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.5277, allocations: 0.8648 MB / 0.5069 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004927/0.5282, allocations: 240.1 kB / 0.5071 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5283, allocations: 43.44 kB / 0.5071 GB, free: 12.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5283, allocations: 0 / 0.5071 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Templates: time 0.04776/0.5761, allocations: 36.36 MB / 0.5426 GB, free: 8.168 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)