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.001082/0.001082, allocations: 109.8 kB / 17.06 MB, free: 5.977 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.001154/0.001154, allocations: 199 kB / 18 MB, free: 5.066 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.333/1.333, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001307/0.001307, allocations: 52.39 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09691, allocations: 46.63 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2052/0.3022, allocations: 26.59 MB / 401.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02616/0.3284, allocations: 24.87 MB / 426 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004758/0.3289, allocations: 8.375 kB / 426 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.3299, allocations: 291.5 kB / 426.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007869/0.3307, allocations: 365.9 kB / 426.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.3425, allocations: 4.012 MB / 430.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.344, allocations: 0.9461 MB / 431.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.3442, allocations: 104.6 kB / 431.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006131/0.3449, allocations: 392.5 kB / 432.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.3452, allocations: 305.2 kB / 432.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.3453, allocations: 41.12 kB / 432.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02064/0.366, allocations: 10.43 MB / 442.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.3663, allocations: 99.72 kB / 442.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.3668, allocations: 223.2 kB / 443.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02825/0.3951, allocations: 11.48 MB / 454.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3951, allocations: 0 / 454.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3951, allocations: 0 / 454.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3952, 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.006807/0.402, allocations: 1.143 MB / 455.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.402, allocations: 8.031 kB / 455.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.4027, allocations: 67.5 kB / 455.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007039/0.4034, allocations: 322.2 kB / 456.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.4034, allocations: 28.66 kB / 456.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.4035, allocations: 32 kB / 456.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.4045, allocations: 467.7 kB / 456.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4045, allocations: 4 kB / 456.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.4046, allocations: 19.94 kB / 456.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4046, allocations: 8.875 kB / 456.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.4054, allocations: 386.3 kB / 457.1 MB, free: 12.77 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.003798/0.4092, allocations: 2.949 MB / 460 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.4099, allocations: 286.8 kB / 460.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.4101, allocations: 132.8 kB / 460.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002277/0.4124, allocations: 2.478 MB / 462.9 MB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4125, allocations: 41.06 kB / 463 MB, free: 6.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.4125, allocations: 0 / 463 MB, free: 6.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005256/0.4177, allocations: 1.282 MB / 464.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.4178, allocations: 55.41 kB / 464.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.4181, allocations: 258.6 kB / 464.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.4181, allocations: 37.7 kB / 464.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4183, allocations: 192 kB / 464.8 MB, free: 4.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.4184, allocations: 122.2 kB / 464.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4185, allocations: 82.12 kB / 465 MB, free: 4.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4186, allocations: 338.8 kB / 465.3 MB, free: 3.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.4188, allocations: 116.8 kB / 465.4 MB, free: 3.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.4191, allocations: 230 kB / 465.6 MB, free: 3.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.4196, allocations: 369.5 kB / 466 MB, free: 2.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4196, allocations: 4 kB / 466 MB, free: 2.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008316/0.4205, allocations: 462.5 kB / 466.5 MB, free: 2.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4205, allocations: 8.875 kB / 466.5 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4205, allocations: 4 kB / 466.5 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/0.4251, allocations: 237.9 kB / 466.7 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.4254, allocations: 95.83 kB / 466.8 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.4269, allocations: 1.938 MB / 468.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.4271, allocations: 8 kB / 468.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.4272, allocations: 21.25 kB / 468.8 MB, free: 15.94 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.0001906/0.4274, allocations: 169.8 kB / 468.9 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.4275, allocations: 35.62 kB / 469 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4285, allocations: 0.6919 MB / 469.6 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4285, allocations: 7.984 kB / 469.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4285, allocations: 3.984 kB / 469.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008247/0.4293, allocations: 0.8564 MB / 470.5 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.4309, allocations: 1.191 MB / 471.7 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4309, allocations: 4 kB / 471.7 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.4312, allocations: 67.91 kB / 471.8 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.4327, allocations: 164.6 kB / 471.9 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.4328, allocations: 12 kB / 471.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003174/0.4331, allocations: 0.5796 MB / 472.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4331, allocations: 0 / 472.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/0.4341, allocations: 0.738 MB / 473.3 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4342, allocations: 104.7 kB / 473.4 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.4342, allocations: 16.06 kB / 473.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4344, allocations: 11.94 kB / 473.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.4345, allocations: 27.91 kB / 473.4 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.4345, allocations: 13.11 kB / 473.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.4347, allocations: 225.9 kB / 473.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4347, allocations: 0 / 473.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004438/0.4392, allocations: 0.7379 MB / 474.4 MB, free: 10.06 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.02518/0.4644, allocations: 6.39 MB / 480.8 MB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4655, allocations: 473.5 kB / 481.2 MB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4655, allocations: 0 / 481.2 MB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.466, allocations: 220.2 kB / 481.5 MB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.4672, allocations: 201.4 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.001634/0.4689, allocations: 0.9038 MB / 482.6 MB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4693, allocations: 0.8051 MB / 483.4 MB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004608/0.4697, allocations: 179 kB / 483.5 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.4698, allocations: 43.42 kB / 483.6 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4699, allocations: 4 kB / 483.6 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of Templates: time 0.04188/0.5117, allocations: 29.17 MB / 0.5007 GB, free: 3.547 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)