Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007648/0.007648, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001817/0.001817, allocations: 205.4 kB / 16.68 MB, free: 5.969 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.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001213/0.001213, allocations: 47.92 kB / 326.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08209, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.206/0.2881, allocations: 26.6 MB / 399.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02688/0.315, allocations: 24.87 MB / 424.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.3156, allocations: 5.5 kB / 424.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009668/0.3166, allocations: 304.2 kB / 424.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.3177, allocations: 383.6 kB / 425.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01411/0.3318, allocations: 4.091 MB / 429.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3332, allocations: 0.9445 MB / 430.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.3335, allocations: 107 kB / 430.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.3341, allocations: 393.8 kB / 430.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.3345, allocations: 309.5 kB / 431.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.3345, allocations: 39.59 kB / 431.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02095/0.3555, allocations: 10.42 MB / 441.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.3558, allocations: 107.7 kB / 441.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.3563, allocations: 223.2 kB / 441.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02658/0.3829, allocations: 11.49 MB / 453.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3829, allocations: 4 kB / 453.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3829, allocations: 0 / 453.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.383, allocations: 0 / 453.4 MB, free: 15.42 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.006364/0.3893, allocations: 1.184 MB / 454.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3894, allocations: 8.031 kB / 454.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/0.39, allocations: 67.73 kB / 454.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.3905, allocations: 330.4 kB / 455 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.3905, allocations: 24.66 kB / 455 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.3906, allocations: 39.89 kB / 455.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.3914, allocations: 467.7 kB / 455.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3915, allocations: 0 / 455.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.3915, allocations: 16 kB / 455.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.3915, allocations: 8 kB / 455.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/0.3922, allocations: 382.3 kB / 455.9 MB, free: 12.79 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.003655/0.3959, allocations: 2.951 MB / 458.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.3966, allocations: 298.6 kB / 459.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.3968, allocations: 136.8 kB / 459.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/0.3992, allocations: 2.466 MB / 461.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3992, allocations: 34.56 kB / 461.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.3992, allocations: 0 / 461.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00519/0.4044, allocations: 1.295 MB / 463.1 MB, free: 4.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.4044, allocations: 55.41 kB / 463.1 MB, free: 4.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.4047, allocations: 262.5 kB / 463.4 MB, free: 4.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4048, allocations: 33.7 kB / 463.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4049, allocations: 192.5 kB / 463.6 MB, free: 4.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.405, allocations: 126.9 kB / 463.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.4051, allocations: 86.08 kB / 463.8 MB, free: 4.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4053, allocations: 346.8 kB / 464.2 MB, free: 3.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.4055, allocations: 108.8 kB / 464.3 MB, free: 3.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.4058, allocations: 226 kB / 464.5 MB, free: 3.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.4063, allocations: 377.5 kB / 464.9 MB, free: 2.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4063, allocations: 4 kB / 464.9 MB, free: 2.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007689/0.407, allocations: 454.8 kB / 465.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4071, allocations: 15.66 kB / 465.3 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4071, allocations: 8 kB / 465.3 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004476/0.4116, allocations: 233.4 kB / 465.6 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.4119, allocations: 91.89 kB / 465.6 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.4134, allocations: 1.936 MB / 467.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.4136, allocations: 16.22 kB / 467.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.4136, allocations: 20 kB / 467.6 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.0001738/0.4138, allocations: 169.6 kB / 467.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.4139, allocations: 31.81 kB / 467.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009598/0.4149, allocations: 0.6874 MB / 468.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4149, allocations: 10.42 kB / 468.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.4149, allocations: 4 kB / 468.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008361/0.4157, allocations: 0.8563 MB / 469.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.4172, allocations: 1.202 MB / 470.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.4172, allocations: 3.984 kB / 470.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.4175, allocations: 67.89 kB / 470.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.419, allocations: 172.6 kB / 470.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.419, allocations: 12 kB / 470.8 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003262/0.4193, allocations: 0.5718 MB / 471.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4193, allocations: 0 / 471.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/0.4203, allocations: 0.7384 MB / 472.1 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.4204, allocations: 108.9 kB / 472.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.4204, allocations: 11.94 kB / 472.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4206, allocations: 12 kB / 472.3 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.4207, allocations: 23.91 kB / 472.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.4207, allocations: 19.92 kB / 472.3 MB, free: 11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.4209, allocations: 221.9 kB / 472.5 MB, free: 10.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4209, allocations: 4.062 kB / 472.5 MB, free: 10.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004387/0.4253, allocations: 0.7442 MB / 473.3 MB, free: 10.04 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.02289/0.4482, allocations: 6.405 MB / 479.7 MB, free: 3.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4493, allocations: 498.2 kB / 480.2 MB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4493, allocations: 4.062 kB / 480.2 MB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.4497, allocations: 212.3 kB / 480.4 MB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.4508, allocations: 188.6 kB / 480.6 MB, free: 2.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.4524, allocations: 0.9075 MB / 481.5 MB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4527, allocations: 0.8012 MB / 482.3 MB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003778/0.4531, allocations: 186.9 kB / 482.4 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.4532, allocations: 39.42 kB / 482.5 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4532, allocations: 0 / 482.5 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of Templates: time 0.04035/0.4936, allocations: 29.05 MB / 0.4995 GB, free: 3.617 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)