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.001092/0.001092, allocations: 112 kB / 17.06 MB, free: 5.988 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.001099/0.001099, allocations: 195.9 kB / 18 MB, free: 5.074 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.329/1.329, allocations: 205.1 MB / 223.9 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.001209/0.001208, allocations: 51.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08589/0.08711, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1964/0.2836, allocations: 26.59 MB / 401.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02691/0.3105, allocations: 24.86 MB / 426 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004163/0.311, allocations: 8.594 kB / 426 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009221/0.312, allocations: 298.4 kB / 426.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007748/0.3128, allocations: 358.9 kB / 426.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01291/0.3257, allocations: 4.013 MB / 430.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.327, allocations: 0.9473 MB / 431.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.3272, allocations: 111.2 kB / 431.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.3278, allocations: 388 kB / 432.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.3281, allocations: 308.9 kB / 432.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.3282, allocations: 37.84 kB / 432.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02153/0.3497, allocations: 10.42 MB / 442.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.35, allocations: 111.6 kB / 442.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.3505, allocations: 219.2 kB / 443.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03767/0.3882, allocations: 11.49 MB / 454.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.3883, allocations: 0 / 454.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3883, allocations: 3.938 kB / 454.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.3883, allocations: 0 / 454.6 MB, free: 15.36 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.007458/0.3958, allocations: 1.188 MB / 455.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3958, allocations: 8.031 kB / 455.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006266/0.3965, allocations: 71.73 kB / 455.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.3971, allocations: 322.4 kB / 456.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3971, allocations: 24.66 kB / 456.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.3972, allocations: 39.95 kB / 456.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3982, allocations: 464.6 kB / 456.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.3983, allocations: 7.938 kB / 456.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3983, allocations: 16 kB / 456.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.3983, allocations: 8 kB / 456.8 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008064/0.3991, allocations: 386.3 kB / 457.1 MB, free: 12.71 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.003446/0.4026, allocations: 2.942 MB / 460.1 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.4033, allocations: 294.6 kB / 460.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.4035, allocations: 129.4 kB / 460.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002594/0.4061, allocations: 2.474 MB / 463 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4062, allocations: 38.56 kB / 463 MB, free: 6.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 4.048e-06/0.4062, allocations: 3.984 kB / 463 MB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005205/0.4114, allocations: 1.296 MB / 464.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4114, allocations: 55.41 kB / 464.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.4117, allocations: 258.6 kB / 464.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4118, allocations: 33.7 kB / 464.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4119, allocations: 192.4 kB / 464.8 MB, free: 4.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.412, allocations: 130.9 kB / 465 MB, free: 4.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.4122, allocations: 82.08 kB / 465 MB, free: 3.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4123, allocations: 334.8 kB / 465.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.4125, allocations: 116.8 kB / 465.5 MB, free: 3.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.4128, allocations: 237.9 kB / 465.7 MB, free: 3.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.4133, allocations: 369.5 kB / 466.1 MB, free: 2.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.4133, allocations: 4 kB / 466.1 MB, free: 2.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008628/0.4142, allocations: 462.7 kB / 466.5 MB, free: 2.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4142, allocations: 11.22 kB / 466.5 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4142, allocations: 4 kB / 466.5 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.4188, allocations: 237.9 kB / 466.8 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.4192, allocations: 91.83 kB / 466.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.4206, allocations: 1.937 MB / 468.8 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.4208, allocations: 14.56 kB / 468.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.4209, allocations: 23.98 kB / 468.8 MB, free: 15.86 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.000186/0.4211, allocations: 165.9 kB / 469 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.4212, allocations: 31.81 kB / 469 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.4222, allocations: 0.6894 MB / 469.7 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4222, allocations: 8 kB / 469.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.4222, allocations: 0 / 469.7 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008109/0.423, allocations: 0.864 MB / 470.6 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.4245, allocations: 1.202 MB / 471.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4245, allocations: 0 / 471.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4248, allocations: 63.91 kB / 471.9 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.4263, allocations: 168.6 kB / 472 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.4264, allocations: 15.98 kB / 472 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004318/0.4268, allocations: 0.5719 MB / 472.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4268, allocations: 0 / 472.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.428, allocations: 0.7382 MB / 473.3 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.4282, allocations: 113.1 kB / 473.5 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.4283, allocations: 11.94 kB / 473.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.4285, allocations: 7.984 kB / 473.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4286, allocations: 31.84 kB / 473.5 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.4286, allocations: 15.98 kB / 473.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.4289, allocations: 221.9 kB / 473.7 MB, free: 10.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4289, allocations: 0 / 473.7 MB, free: 10.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004602/0.4335, allocations: 0.7481 MB / 474.5 MB, free: 9.969 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.02663/0.4601, allocations: 6.407 MB / 480.9 MB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.4614, allocations: 481.4 kB / 481.4 MB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.4615, allocations: 0 / 481.4 MB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.462, allocations: 225.1 kB / 481.6 MB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4632, allocations: 194.6 kB / 481.8 MB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.4648, allocations: 0.888 MB / 482.7 MB, free: 1.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.4652, allocations: 0.8168 MB / 483.5 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.4656, allocations: 183 kB / 483.7 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.4657, allocations: 39.44 kB / 483.7 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4657, allocations: 3.938 kB / 483.7 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of Templates: time 0.04107/0.5068, allocations: 29.04 MB / 0.5007 GB, free: 3.562 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)