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.001472/0.001471, allocations: 106.9 kB / 17.06 MB, free: 6.02 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.001708/0.001708, allocations: 191 kB / 18 MB, free: 5.105 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.331/1.331, allocations: 205.1 MB / 223.9 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.001168/0.001168, allocations: 47.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09148, allocations: 46.63 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1949/0.2864, allocations: 37.64 MB / 412.1 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03222/0.3187, allocations: 30.61 MB / 442.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006388/0.3193, allocations: 11.94 kB / 442.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.3205, allocations: 405.7 kB / 443.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.3217, allocations: 0.5127 MB / 443.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0148/0.3365, allocations: 5.141 MB / 448.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.3383, allocations: 1.344 MB / 450.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.3385, allocations: 178.5 kB / 450.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006913/0.3392, allocations: 0.5333 MB / 450.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.3397, allocations: 438.3 kB / 451.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.3398, allocations: 52 kB / 451.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02509/0.3649, allocations: 12.81 MB / 464.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.3652, allocations: 147.6 kB / 464.3 MB, free: 5.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.3658, allocations: 326.7 kB / 464.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03547/0.4013, allocations: 14.91 MB / 479.5 MB, free: 6.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4013, allocations: 0 / 479.5 MB, free: 6.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4013, allocations: 0 / 479.5 MB, free: 6.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4013, allocations: 0 / 479.5 MB, free: 6.391 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.008221/0.4096, allocations: 1.42 MB / 480.9 MB, free: 4.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4096, allocations: 19.83 kB / 481 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.4104, allocations: 92.27 kB / 481 MB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.411, allocations: 393.8 kB / 481.4 MB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.411, allocations: 37 kB / 481.5 MB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4112, allocations: 48 kB / 481.5 MB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.4124, allocations: 0.6166 MB / 482.1 MB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.4124, allocations: 3.906 kB / 482.1 MB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.4125, allocations: 28 kB / 482.2 MB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.4125, allocations: 12 kB / 482.2 MB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009743/0.4134, allocations: 0.5229 MB / 482.7 MB, free: 3.074 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.004348/0.4178, allocations: 3.8 MB / 486.5 MB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.4187, allocations: 419.7 kB / 486.9 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.419, allocations: 209.2 kB / 487.1 MB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003198/0.4222, allocations: 3.463 MB / 490.6 MB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4223, allocations: 38.94 kB / 490.6 MB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.244e-06/0.4223, allocations: 0 / 490.6 MB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009542/0.4318, allocations: 2.03 MB / 492.6 MB, free: 8.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.4319, allocations: 55.84 kB / 492.7 MB, free: 7.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.4323, allocations: 312.4 kB / 493 MB, free: 7.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.4324, allocations: 41.7 kB / 493 MB, free: 7.598 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4325, allocations: 224.6 kB / 493.3 MB, free: 7.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.4327, allocations: 197.1 kB / 493.5 MB, free: 7.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.4328, allocations: 114.3 kB / 493.6 MB, free: 7.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.433, allocations: 346.8 kB / 493.9 MB, free: 6.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.4333, allocations: 181.2 kB / 494.1 MB, free: 6.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.4337, allocations: 336 kB / 494.4 MB, free: 6.148 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.4345, allocations: 0.5505 MB / 495 MB, free: 5.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4345, allocations: 0 / 495 MB, free: 5.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001238/0.4358, allocations: 0.6696 MB / 495.6 MB, free: 4.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4358, allocations: 4 kB / 495.6 MB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4358, allocations: 11.92 kB / 495.6 MB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009541/0.4454, allocations: 450.5 kB / 496.1 MB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.446, allocations: 139.8 kB / 496.2 MB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.4481, allocations: 3.088 MB / 499.3 MB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.4485, allocations: 23.94 kB / 499.3 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.4486, allocations: 27.98 kB / 499.4 MB, free: 0.8984 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.0003216/0.4489, allocations: 189.7 kB / 499.5 MB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.449, allocations: 51.47 kB / 499.6 MB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.4506, allocations: 1.055 MB / 0.4889 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4506, allocations: 7.984 kB / 0.4889 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.4506, allocations: 4 kB / 0.4889 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/0.4518, allocations: 1.091 MB / 0.49 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.4539, allocations: 1.733 MB / 0.4917 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4539, allocations: 0 / 0.4917 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.4543, allocations: 99.83 kB / 0.4918 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/0.4575, allocations: 349 kB / 0.4921 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.4576, allocations: 19.98 kB / 0.4921 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007039/0.4583, allocations: 1.148 MB / 0.4933 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4583, allocations: 0 / 0.4933 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.4598, allocations: 1.12 MB / 0.4943 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4599, allocations: 124.4 kB / 0.4945 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.46, allocations: 12 kB / 0.4945 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.4603, allocations: 20.03 kB / 0.4945 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.4604, allocations: 40.48 kB / 0.4945 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.4604, allocations: 25.05 kB / 0.4946 GB, free: 9.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.4607, allocations: 251 kB / 0.4948 GB, free: 9.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4607, allocations: 4 kB / 0.4948 GB, free: 9.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005855/0.4665, allocations: 0.9565 MB / 0.4957 GB, free: 8.359 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.02994/0.4965, allocations: 7.863 MB / 0.5034 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.4983, allocations: 0.7203 MB / 0.5041 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4983, allocations: 4 kB / 0.5041 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006178/0.4989, allocations: 371.3 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.001459/0.5004, allocations: 255.1 kB / 0.5047 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.5026, allocations: 1.324 MB / 0.506 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.5029, allocations: 0.8648 MB / 0.5069 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004631/0.5034, 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.0001127/0.5035, allocations: 47.44 kB / 0.5071 GB, free: 12.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5035, allocations: 0 / 0.5071 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Templates: time 0.048/0.5515, allocations: 36.18 MB / 0.5425 GB, free: 8.344 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)