Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001252/0.001252, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.46/1.46, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001235/0.001235, allocations: 56.34 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2224, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03578/0.2583, allocations: 37.64 MB / 362.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03211/0.2904, allocations: 30.62 MB / 393.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.2913, allocations: 4 kB / 393.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.2931, allocations: 405.7 kB / 394 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.2949, allocations: 0.5205 MB / 394.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02316/0.3181, allocations: 5.121 MB / 399.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.3211, allocations: 1.363 MB / 401 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.3216, allocations: 174.6 kB / 401.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.3232, allocations: 0.5334 MB / 401.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3243, allocations: 438.2 kB / 402.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.3245, allocations: 52 kB / 402.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03412/0.3586, allocations: 12.77 MB / 414.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.3589, allocations: 147.6 kB / 415.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.3595, allocations: 322.8 kB / 415.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04021/0.3998, allocations: 14.91 MB / 430.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3998, allocations: 0 / 430.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3998, allocations: 0 / 430.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.3998, allocations: 7.938 kB / 430.3 MB, free: 10.61 MB / 366.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.007371/0.4072, allocations: 1.423 MB / 431.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4073, allocations: 11.89 kB / 431.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007114/0.408, allocations: 95.23 kB / 431.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.4085, allocations: 378 kB / 432.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.4085, allocations: 37 kB / 432.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.4086, allocations: 48 kB / 432.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.4097, allocations: 0.6205 MB / 432.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4098, allocations: 4 kB / 432.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.4098, allocations: 20 kB / 432.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4099, allocations: 12 kB / 432.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009785/0.4108, allocations: 0.5307 MB / 433.5 MB, free: 7.305 MB / 366.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.004034/0.4149, allocations: 3.811 MB / 437.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/0.4158, allocations: 415.6 kB / 437.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.4161, allocations: 217.3 kB / 437.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003229/0.4193, allocations: 3.463 MB / 441.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4194, allocations: 42.88 kB / 441.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.724e-06/0.4194, allocations: 0 / 441.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009072/0.4285, allocations: 2.03 MB / 443.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.4285, allocations: 59.78 kB / 443.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.4288, allocations: 308.5 kB / 443.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.4289, allocations: 37.7 kB / 443.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.429, allocations: 232.6 kB / 444 MB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.4292, allocations: 189.2 kB / 444.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.4293, allocations: 122.2 kB / 444.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4295, allocations: 346.8 kB / 444.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.4298, allocations: 185.2 kB / 444.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.4302, allocations: 332 kB / 445.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.431, allocations: 0.5407 MB / 445.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.431, allocations: 0 / 445.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001215/0.4322, allocations: 0.674 MB / 446.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4322, allocations: 7.938 kB / 446.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.4323, allocations: 4 kB / 446.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009442/0.4417, allocations: 450.1 kB / 446.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.4423, allocations: 147.8 kB / 447 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.4443, allocations: 3.081 MB / 450.1 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.4446, allocations: 19.94 kB / 450.1 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.4447, allocations: 27.98 kB / 450.1 MB, free: 5.113 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.0002512/0.445, allocations: 185.7 kB / 450.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4451, allocations: 43.53 kB / 450.4 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.4466, allocations: 1.056 MB / 451.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4466, allocations: 11.98 kB / 451.4 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4467, allocations: 4 kB / 451.4 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.4478, allocations: 1.091 MB / 452.5 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.4499, allocations: 1.727 MB / 454.2 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.45, allocations: 0 / 454.2 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.4503, allocations: 107.8 kB / 454.4 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/0.4535, allocations: 353 kB / 454.7 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.4535, allocations: 15.98 kB / 454.7 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1491/0.6027, allocations: 1.143 MB / 455.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6027, allocations: 0.8594 kB / 455.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.6045, allocations: 1.127 MB / 457 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.6046, allocations: 128 kB / 457.1 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.6047, allocations: 19.31 kB / 457.1 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.605, allocations: 12.12 kB / 457.1 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.605, allocations: 34.34 kB / 457.2 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.6051, allocations: 21.73 kB / 457.2 MB, free: 105.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002862/0.6054, allocations: 245.6 kB / 457.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6054, allocations: 0 / 457.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004901/0.6103, allocations: 0.9644 MB / 458.4 MB, free: 105.6 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.03922/0.6495, allocations: 7.873 MB / 466.3 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.6516, allocations: 0.7445 MB / 467 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6517, allocations: 3.938 kB / 467 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.6523, allocations: 362.1 kB / 467.4 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.6539, allocations: 255.5 kB / 467.6 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.6559, allocations: 1.35 MB / 469 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6562, allocations: 0.8664 MB / 469.8 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004363/0.6566, allocations: 236.5 kB / 470.1 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.6567, allocations: 46.88 kB / 470.1 MB, free: 100.1 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6567, allocations: 0 / 470.1 MB, free: 100.1 MB / 382.1 MB Notification: Performance of Templates: time 0.04246/0.6992, allocations: 36.05 MB / 0.4943 GB, free: 65.21 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)