Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001756/0.001756, allocations: 200 kB / 18.01 MB, free: 5.055 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.345/1.345, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001325/0.001325, allocations: 51.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08955, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1973/0.2869, allocations: 26.6 MB / 401.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02861/0.3155, allocations: 24.87 MB / 426 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004955/0.3161, allocations: 9.125 kB / 426 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.317, allocations: 294.6 kB / 426.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009413/0.318, allocations: 358.2 kB / 426.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01222/0.3302, allocations: 4.022 MB / 430.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3315, allocations: 0.9425 MB / 431.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.3317, allocations: 108.5 kB / 431.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.3323, allocations: 388 kB / 432.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.3326, allocations: 305.3 kB / 432.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.3327, allocations: 37.75 kB / 432.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02022/0.3529, allocations: 10.42 MB / 442.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.3531, allocations: 103.7 kB / 442.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.3536, allocations: 231 kB / 443.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02513/0.3787, allocations: 11.48 MB / 454.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3787, allocations: 4 kB / 454.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3787, allocations: 0 / 454.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3788, allocations: 0 / 454.6 MB, free: 15.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005732/0.3845, allocations: 1.139 MB / 455.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3846, allocations: 8.031 kB / 455.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005402/0.3851, allocations: 71.48 kB / 455.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.3856, allocations: 334.2 kB / 456.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3856, allocations: 21.53 kB / 456.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.3857, allocations: 32 kB / 456.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.3865, allocations: 467.7 kB / 456.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3865, allocations: 0 / 456.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.3866, allocations: 16 kB / 456.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3866, allocations: 11.98 kB / 456.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.3873, allocations: 390.2 kB / 457.1 MB, free: 12.76 MB / 382.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.003405/0.3907, allocations: 2.946 MB / 460 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.3913, allocations: 286.8 kB / 460.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3915, allocations: 132.8 kB / 460.4 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/0.3939, allocations: 2.47 MB / 462.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.394, allocations: 34.56 kB / 462.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.394, allocations: 0 / 462.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005084/0.3991, allocations: 1.297 MB / 464.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3991, allocations: 55.41 kB / 464.3 MB, free: 4.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.3994, allocations: 258.6 kB / 464.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.3995, allocations: 29.7 kB / 464.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3996, allocations: 196 kB / 464.8 MB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.3997, allocations: 118.3 kB / 464.9 MB, free: 4.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3998, allocations: 82.03 kB / 465 MB, free: 4.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4, allocations: 342.8 kB / 465.3 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.4002, allocations: 112.8 kB / 465.4 MB, free: 3.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.4005, allocations: 234 kB / 465.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.401, allocations: 369.5 kB / 466 MB, free: 2.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.401, allocations: 4 kB / 466 MB, free: 2.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008085/0.4018, allocations: 458.5 kB / 466.4 MB, free: 2.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4018, allocations: 12.38 kB / 466.5 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4019, allocations: 8 kB / 466.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00482/0.4067, allocations: 233.4 kB / 466.7 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.407, allocations: 83.91 kB / 466.8 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.4085, allocations: 1.946 MB / 468.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.4087, allocations: 12.2 kB / 468.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.4088, allocations: 24 kB / 468.8 MB, free: 15.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001951/0.409, allocations: 169.6 kB / 468.9 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.4091, allocations: 31.62 kB / 469 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.4101, allocations: 0.6863 MB / 469.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4101, allocations: 11.98 kB / 469.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.4101, allocations: 0 / 469.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008132/0.4109, allocations: 0.8602 MB / 470.5 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.4124, allocations: 1.194 MB / 471.7 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4124, allocations: 0 / 471.7 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.4127, allocations: 59.97 kB / 471.8 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.4143, allocations: 184.5 kB / 471.9 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.4143, allocations: 8 kB / 472 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003165/0.4146, allocations: 0.5679 MB / 472.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4146, allocations: 0 / 472.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.4156, allocations: 0.742 MB / 473.3 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.4157, allocations: 112.7 kB / 473.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.4157, allocations: 15.84 kB / 473.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.4159, allocations: 8 kB / 473.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.416, allocations: 27.91 kB / 473.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.416, allocations: 13.12 kB / 473.4 MB, free: 11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.4162, allocations: 217.9 kB / 473.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4162, allocations: 0 / 473.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004191/0.4204, allocations: 0.7457 MB / 474.4 MB, free: 10.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02386/0.4443, allocations: 6.397 MB / 480.8 MB, free: 3.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.4454, allocations: 478.3 kB / 481.3 MB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4454, allocations: 4 kB / 481.3 MB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.4458, allocations: 216.2 kB / 481.5 MB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.447, allocations: 182.7 kB / 481.7 MB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4485, allocations: 0.9045 MB / 482.6 MB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4489, allocations: 0.8051 MB / 483.4 MB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003764/0.4493, allocations: 190.9 kB / 483.5 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.4494, allocations: 35.44 kB / 483.6 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4494, allocations: 0 / 483.6 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of Templates: time 0.04044/0.4898, allocations: 29.05 MB / 0.5006 GB, free: 3.66 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)