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.00572/0.00572, allocations: 101.8 kB / 15.73 MB, free: 6.469 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.001369/0.001369, allocations: 194.2 kB / 16.67 MB, free: 6.379 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.358/1.358, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001178/0.001178, allocations: 45.47 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09045, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02752/0.118, allocations: 26.6 MB / 399.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.1423, allocations: 24.86 MB / 424.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.1428, allocations: 4 kB / 424.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009426/0.1438, allocations: 290.3 kB / 424.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.1449, allocations: 373.9 kB / 425.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.1571, allocations: 4.017 MB / 429.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1585, allocations: 0.9464 MB / 430.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.1588, allocations: 113 kB / 430.4 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.1596, allocations: 390.6 kB / 430.7 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.1601, allocations: 302.8 kB / 431 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.1602, allocations: 36 kB / 431.1 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01709/0.1773, allocations: 10.41 MB / 441.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.1776, allocations: 107.7 kB / 441.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.178, allocations: 227.2 kB / 441.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02482/0.2028, allocations: 11.48 MB / 453.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2029, allocations: 0 / 453.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2029, allocations: 0 / 453.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2029, allocations: 0 / 453.3 MB, free: 0.9414 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.1929/0.3958, allocations: 1.135 MB / 454.4 MB, free: 67.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.3959, allocations: 10.09 kB / 454.4 MB, free: 67.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.3969, allocations: 63 kB / 454.5 MB, free: 67.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.3975, allocations: 326.8 kB / 454.8 MB, free: 67.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.3976, allocations: 25.5 kB / 454.9 MB, free: 67.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3977, allocations: 34.84 kB / 454.9 MB, free: 67.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3991, allocations: 460.5 kB / 455.3 MB, free: 67.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3992, allocations: 1.094 kB / 455.3 MB, free: 67.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.3993, allocations: 18.91 kB / 455.4 MB, free: 67.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.3993, allocations: 9.172 kB / 455.4 MB, free: 67.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4006, allocations: 387.6 kB / 455.7 MB, free: 67 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.004933/0.4055, allocations: 2.953 MB / 458.7 MB, free: 65.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4066, allocations: 301.7 kB / 459 MB, free: 64.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.4069, allocations: 136.9 kB / 459.1 MB, free: 64.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002796/0.4097, allocations: 2.47 MB / 461.6 MB, free: 62.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.4098, allocations: 37.84 kB / 461.6 MB, free: 62.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.036e-06/0.4098, allocations: 0 / 461.6 MB, free: 62.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.008289/0.4181, allocations: 1.282 MB / 462.9 MB, free: 61.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.4181, allocations: 59.77 kB / 463 MB, free: 61.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.4187, allocations: 259.5 kB / 463.2 MB, free: 61.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.4188, allocations: 31.27 kB / 463.3 MB, free: 61.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4189, allocations: 188.4 kB / 463.4 MB, free: 61.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.419, allocations: 123.5 kB / 463.6 MB, free: 61.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4192, allocations: 89.97 kB / 463.6 MB, free: 60.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.4193, allocations: 338.3 kB / 464 MB, free: 60.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.4196, allocations: 118 kB / 464.1 MB, free: 60.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.42, allocations: 231.5 kB / 464.3 MB, free: 60.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.4209, allocations: 365.4 kB / 464.7 MB, free: 60.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4209, allocations: 1.094 kB / 464.7 MB, free: 60.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00143/0.4224, allocations: 459.2 kB / 465.1 MB, free: 59.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4224, allocations: 7.25 kB / 465.1 MB, free: 59.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.4224, allocations: 8.844 kB / 465.1 MB, free: 59.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006379/0.4288, allocations: 238.5 kB / 465.4 MB, free: 59.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.4293, allocations: 90.02 kB / 465.5 MB, free: 59.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.4312, allocations: 1.939 MB / 467.4 MB, free: 57.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.4316, allocations: 9.219 kB / 467.4 MB, free: 57.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/0.4317, allocations: 22.48 kB / 467.4 MB, free: 57.94 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.0003466/0.4321, allocations: 162.4 kB / 467.6 MB, free: 57.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.4323, allocations: 30.47 kB / 467.6 MB, free: 57.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.4338, allocations: 0.6798 MB / 468.3 MB, free: 57.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.4338, allocations: 19.39 kB / 468.3 MB, free: 57.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4338, allocations: 1.062 kB / 468.3 MB, free: 57.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.435, allocations: 0.8626 MB / 469.2 MB, free: 56.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.4372, allocations: 1.199 MB / 470.4 MB, free: 56.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.4372, allocations: 3.938 kB / 470.4 MB, free: 56.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.4376, allocations: 62.86 kB / 470.4 MB, free: 56.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/0.4395, allocations: 180 kB / 470.6 MB, free: 56.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.4395, allocations: 8.984 kB / 470.6 MB, free: 56.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002701/0.4398, allocations: 0.5677 MB / 471.2 MB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4398, allocations: 1.312 kB / 471.2 MB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009391/0.4407, allocations: 0.7384 MB / 471.9 MB, free: 55.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.4409, allocations: 108.6 kB / 472 MB, free: 54.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.4409, allocations: 11.14 kB / 472.1 MB, free: 54.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4411, allocations: 8.25 kB / 472.1 MB, free: 54.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.4412, allocations: 24.77 kB / 472.1 MB, free: 54.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.4412, allocations: 14.45 kB / 472.1 MB, free: 54.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.4414, allocations: 226.3 kB / 472.3 MB, free: 54.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4414, allocations: 1 kB / 472.3 MB, free: 54.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004541/0.446, allocations: 0.7346 MB / 473.1 MB, free: 54.75 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.02237/0.4684, allocations: 6.401 MB / 479.5 MB, free: 51.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009018/0.4693, allocations: 483.1 kB / 479.9 MB, free: 51.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4693, allocations: 0 / 479.9 MB, free: 51.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.4696, allocations: 226.6 kB / 480.2 MB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4707, allocations: 194 kB / 480.3 MB, free: 51.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.472, allocations: 0.8917 MB / 481.2 MB, free: 50.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4722, allocations: 0.811 MB / 482 MB, free: 50.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.4726, allocations: 191.2 kB / 482.2 MB, free: 50.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.4726, allocations: 34.47 kB / 482.3 MB, free: 50.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4726, allocations: 4 kB / 482.3 MB, free: 50.16 MB / 382.1 MB Notification: Performance of Templates: time 0.03087/0.5035, allocations: 29.17 MB / 0.4994 GB, free: 21.3 MB / 382.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)