Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006906/0.006906, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001624/0.001624, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.387/1.387, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.00121/0.00121, allocations: 56.5 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08653, allocations: 46.61 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0251/0.1117, allocations: 26.61 MB / 399.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02397/0.1357, allocations: 24.86 MB / 424.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.1361, allocations: 4 kB / 424.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008867/0.137, allocations: 290.3 kB / 424.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007404/0.1378, allocations: 369.9 kB / 425.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.1482, allocations: 4.017 MB / 429.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1493, allocations: 0.9425 MB / 430.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.1495, allocations: 112.9 kB / 430.4 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.1502, allocations: 386.6 kB / 430.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.1506, allocations: 302.8 kB / 431 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.1507, allocations: 40 kB / 431.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.1681, allocations: 10.42 MB / 441.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.1683, allocations: 99.66 kB / 441.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.1687, allocations: 227.2 kB / 441.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02694/0.1957, allocations: 11.49 MB / 453.3 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.1957, allocations: 0 / 453.3 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1957, allocations: 0 / 453.3 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.1958, allocations: 0 / 453.3 MB, free: 0.9258 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.2076/0.4034, allocations: 1.134 MB / 454.4 MB, free: 67.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4035, allocations: 8.875 kB / 454.4 MB, free: 67.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007188/0.4042, allocations: 63.55 kB / 454.5 MB, free: 67.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.4048, allocations: 328.4 kB / 454.8 MB, free: 67.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.4048, allocations: 28.41 kB / 454.9 MB, free: 67.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.4049, allocations: 34.67 kB / 454.9 MB, free: 67.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.406, allocations: 461.2 kB / 455.3 MB, free: 67.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.406, allocations: 5.094 kB / 455.3 MB, free: 67.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.4061, allocations: 18 kB / 455.4 MB, free: 67.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.4061, allocations: 8.625 kB / 455.4 MB, free: 67.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000939/0.4071, allocations: 388.1 kB / 455.7 MB, free: 67.34 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.003555/0.4107, allocations: 2.951 MB / 458.7 MB, free: 65.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.4113, allocations: 295 kB / 459 MB, free: 65.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.4115, allocations: 131.7 kB / 459.1 MB, free: 64.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/0.4135, allocations: 2.47 MB / 461.6 MB, free: 62.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.4136, allocations: 41.38 kB / 461.6 MB, free: 62.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.973e-06/0.4136, allocations: 1.594 kB / 461.6 MB, free: 62.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005071/0.4186, allocations: 1.28 MB / 462.9 MB, free: 61.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.4187, allocations: 62.44 kB / 463 MB, free: 61.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.4189, allocations: 259.7 kB / 463.2 MB, free: 61.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.419, allocations: 31.83 kB / 463.3 MB, free: 61.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.4191, allocations: 188.3 kB / 463.4 MB, free: 61.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.4192, allocations: 118.7 kB / 463.6 MB, free: 61.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4193, allocations: 83.31 kB / 463.6 MB, free: 61.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.4194, allocations: 342.2 kB / 464 MB, free: 60.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.4196, allocations: 114.1 kB / 464.1 MB, free: 60.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.4198, allocations: 234.9 kB / 464.3 MB, free: 60.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.4203, allocations: 367.5 kB / 464.7 MB, free: 60.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4203, allocations: 1.766 kB / 464.7 MB, free: 60.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008053/0.4211, allocations: 463.2 kB / 465.1 MB, free: 60.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4211, allocations: 7.25 kB / 465.1 MB, free: 60.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4212, allocations: 4.5 kB / 465.1 MB, free: 60.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004857/0.426, allocations: 238.8 kB / 465.4 MB, free: 59.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.4264, allocations: 91.38 kB / 465.5 MB, free: 59.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.4274, allocations: 1.944 MB / 467.4 MB, free: 58.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.4277, allocations: 10.75 kB / 467.4 MB, free: 58.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.4277, allocations: 20.44 kB / 467.4 MB, free: 58.01 MB / 382.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.0001655/0.4279, allocations: 164.6 kB / 467.6 MB, free: 57.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.428, allocations: 27.84 kB / 467.6 MB, free: 57.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.429, allocations: 0.6835 MB / 468.3 MB, free: 57.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.429, allocations: 14.58 kB / 468.3 MB, free: 57.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.429, allocations: 2.375 kB / 468.3 MB, free: 57.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007573/0.4298, allocations: 0.8584 MB / 469.2 MB, free: 56.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.4312, allocations: 1.198 MB / 470.4 MB, free: 56.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4313, allocations: 4.969 kB / 470.4 MB, free: 56.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.4315, allocations: 65.81 kB / 470.4 MB, free: 56.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.4332, allocations: 180.6 kB / 470.6 MB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4332, allocations: 7.938 kB / 470.6 MB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002478/0.4335, allocations: 0.5699 MB / 471.2 MB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4335, allocations: 0 / 471.2 MB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.4344, allocations: 0.7341 MB / 471.9 MB, free: 55.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.4345, allocations: 114.3 kB / 472 MB, free: 55.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.4346, allocations: 11.08 kB / 472.1 MB, free: 55.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4348, allocations: 6.281 kB / 472.1 MB, free: 55.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4348, allocations: 26.3 kB / 472.1 MB, free: 55.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.4349, allocations: 14.69 kB / 472.1 MB, free: 55.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.4351, allocations: 217.3 kB / 472.3 MB, free: 54.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4351, allocations: 5.281 kB / 472.3 MB, free: 54.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005076/0.4402, allocations: 0.7415 MB / 473.1 MB, free: 54.82 MB / 382.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.0228/0.463, allocations: 6.393 MB / 479.5 MB, free: 51.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009631/0.464, allocations: 489.7 kB / 479.9 MB, free: 51.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.464, allocations: 0 / 479.9 MB, free: 51.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.4643, allocations: 216.5 kB / 480.1 MB, free: 51.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4655, allocations: 202.6 kB / 480.3 MB, free: 51.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4669, allocations: 0.8984 MB / 481.2 MB, free: 50.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.4672, allocations: 0.8071 MB / 482 MB, free: 50.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.4676, allocations: 184.5 kB / 482.2 MB, free: 50.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.4677, allocations: 43.3 kB / 482.3 MB, free: 50.24 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4677, allocations: 0 / 482.3 MB, free: 50.24 MB / 382.1 MB Notification: Performance of Templates: time 0.03072/0.4984, allocations: 29.05 MB / 0.4993 GB, free: 21.63 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)