Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 97.05 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 35.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2246, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02756/0.2522, allocations: 37.22 MB / 436.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03014/0.2824, allocations: 31.58 MB / 468.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004675/0.2829, allocations: 11.94 kB / 468.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009463/0.2839, allocations: 342.3 kB / 468.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000908/0.2848, allocations: 0.5012 MB / 469.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01179/0.2966, allocations: 4.164 MB / 473.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.2987, allocations: 2.046 MB / 475.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.299, allocations: 130.7 kB / 475.4 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.2998, allocations: 470.2 kB / 475.9 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.3005, allocations: 462.2 kB / 476.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.3006, allocations: 28 kB / 476.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05004/0.3506, allocations: 35.3 MB / 0.4997 GB, free: 0.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3509, allocations: 131.4 kB / 0.4998 GB, free: 0.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.3514, allocations: 298.8 kB / 0.5001 GB, free: 296 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2309/0.5823, allocations: 26.15 MB / 0.5256 GB, free: 30.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.5824, allocations: 0 / 0.5256 GB, free: 30.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.5824, allocations: 0.5 kB / 0.5256 GB, free: 30.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.5824, allocations: 1.984 kB / 0.5256 GB, free: 30.42 MB / 378.7 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.01004/0.5925, allocations: 1.417 MB / 0.527 GB, free: 29.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5925, allocations: 9.031 kB / 0.527 GB, free: 29.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007428/0.5933, allocations: 91.39 kB / 0.5271 GB, free: 28.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.5938, allocations: 377.9 kB / 0.5275 GB, free: 28.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.5938, allocations: 41.38 kB / 0.5275 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.5939, allocations: 43.19 kB / 0.5276 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.595, allocations: 0.6209 MB / 0.5282 GB, free: 28.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.5951, allocations: 8.984 kB / 0.5282 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.5951, allocations: 19.31 kB / 0.5282 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.5952, allocations: 17.3 kB / 0.5282 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.5961, allocations: 0.5264 MB / 0.5287 GB, free: 27.76 MB / 378.7 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.003888/0.6, allocations: 3.794 MB / 0.5324 GB, free: 24.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.6009, allocations: 411.4 kB / 0.5328 GB, free: 23.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.6012, allocations: 211 kB / 0.533 GB, free: 23.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002294/0.6035, allocations: 3.464 MB / 0.5364 GB, free: 19.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6035, allocations: 46.81 kB / 0.5365 GB, free: 19.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.326e-06/0.6035, allocations: 0 / 0.5365 GB, free: 19.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.008428/0.6119, allocations: 2.023 MB / 0.5384 GB, free: 18.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.612, allocations: 58.84 kB / 0.5385 GB, free: 18.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.6123, allocations: 309.5 kB / 0.5388 GB, free: 17.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.6124, allocations: 33.02 kB / 0.5388 GB, free: 17.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.6125, allocations: 227.6 kB / 0.539 GB, free: 17.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.6126, allocations: 199.1 kB / 0.5392 GB, free: 17.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.6127, allocations: 116.7 kB / 0.5393 GB, free: 17.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.6128, allocations: 355.3 kB / 0.5397 GB, free: 16.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.613, allocations: 177.1 kB / 0.5398 GB, free: 16.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.6134, allocations: 330.1 kB / 0.5402 GB, free: 16.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/0.614, allocations: 0.5492 MB / 0.5407 GB, free: 16.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.614, allocations: 0 / 0.5407 GB, free: 16.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001083/0.6151, allocations: 0.6686 MB / 0.5413 GB, free: 15.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.6151, allocations: 8 kB / 0.5414 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6151, allocations: 4 kB / 0.5414 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00896/0.6241, allocations: 451.9 kB / 0.5418 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.6247, allocations: 148.9 kB / 0.5419 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.6262, allocations: 2.985 MB / 0.5448 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.6266, allocations: 45.25 kB / 0.5449 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/0.6267, allocations: 30.88 kB / 0.5449 GB, free: 12.09 MB / 378.7 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.000269/0.627, allocations: 203.4 kB / 0.5451 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6271, allocations: 43.52 kB / 0.5452 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.6285, allocations: 1.056 MB / 0.5462 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6285, allocations: 16.39 kB / 0.5462 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.6286, allocations: 0.5312 kB / 0.5462 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008977/0.6295, allocations: 1.077 MB / 0.5473 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.6313, allocations: 1.734 MB / 0.5489 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6313, allocations: 1.688 kB / 0.5489 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.6317, allocations: 101.1 kB / 0.549 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/0.6346, allocations: 349.6 kB / 0.5494 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.6347, allocations: 21.23 kB / 0.5494 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004406/0.6351, allocations: 1.14 MB / 0.5505 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6352, allocations: 0 / 0.5505 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06096/0.6961, allocations: 20.22 MB / 0.5703 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.6963, allocations: 119.9 kB / 0.5704 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6965, allocations: 11 kB / 0.5704 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.6968, allocations: 36.94 kB / 0.5704 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.6969, allocations: 37.5 kB / 0.5705 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.697, allocations: 18.25 kB / 0.5705 GB, free: 6.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.6973, allocations: 249.5 kB / 0.5707 GB, free: 6.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6973, allocations: 0 / 0.5707 GB, free: 6.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01177/0.709, allocations: 2.081 MB / 0.5727 GB, free: 4.387 MB / 394.7 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.0776/0.7867, allocations: 13.18 MB / 0.5856 GB, free: 7.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.7885, allocations: 0.705 MB / 0.5863 GB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7885, allocations: 4 kB / 0.5863 GB, free: 7.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.7892, allocations: 367.1 kB / 0.5867 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.7907, allocations: 254.8 kB / 0.5869 GB, free: 6.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.7963, allocations: 2.383 MB / 0.5892 GB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.7968, allocations: 0.897 MB / 0.5901 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006681/0.7975, allocations: 259.8 kB / 0.5903 GB, free: 2.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.7977, allocations: 59.42 kB / 0.5904 GB, free: 2.832 MB / 410.7 MB Notification: Performance of SimCode: time 2.084e-06/0.7977, allocations: 0 / 0.5904 GB, free: 2.832 MB / 410.7 MB Notification: Performance of Templates: time 0.08604/0.8837, allocations: 66.09 MB / 0.6549 GB, free: 1.402 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)