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.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001181/0.001181, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2117, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02738/0.2391, allocations: 26.59 MB / 351.9 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02465/0.2638, allocations: 24.87 MB / 376.8 MB, free: 296 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.2642, allocations: 7.938 kB / 376.8 MB, free: 288 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.265, allocations: 290.5 kB / 377.1 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.2658, allocations: 365.8 kB / 377.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.2766, allocations: 4.017 MB / 381.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.2779, allocations: 0.9387 MB / 382.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.2781, allocations: 113 kB / 382.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/0.2787, allocations: 382.6 kB / 382.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.2791, allocations: 310.8 kB / 383.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.2791, allocations: 36 kB / 383.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02086/0.3, allocations: 10.39 MB / 393.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.3002, allocations: 99.72 kB / 393.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.3006, allocations: 235 kB / 393.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03191/0.3326, allocations: 11.48 MB / 405.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3326, allocations: 0 / 405.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3326, allocations: 0 / 405.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3326, allocations: 0 / 405.4 MB, free: 3.598 MB / 334.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.006021/0.3387, allocations: 1.15 MB / 406.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3387, allocations: 12.03 kB / 406.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005495/0.3393, allocations: 59.59 kB / 406.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.3397, allocations: 322.3 kB / 406.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3397, allocations: 24.66 kB / 407 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.3397, allocations: 32 kB / 407 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.3406, allocations: 463.7 kB / 407.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3406, allocations: 0 / 407.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.3406, allocations: 20 kB / 407.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3407, allocations: 8 kB / 407.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.3414, allocations: 386.3 kB / 407.8 MB, free: 1.02 MB / 334.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.00328/0.3446, allocations: 2.96 MB / 410.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.3453, allocations: 290.8 kB / 411.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3455, allocations: 133.3 kB / 411.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002284/0.3478, allocations: 2.474 MB / 413.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3479, allocations: 38.56 kB / 413.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.3479, allocations: 4 kB / 413.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005206/0.3531, allocations: 1.268 MB / 415 MB, free: 9.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3531, allocations: 67.33 kB / 415.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3534, allocations: 262.5 kB / 415.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3534, allocations: 33.7 kB / 415.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3536, allocations: 188 kB / 415.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.3537, allocations: 122.3 kB / 415.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3538, allocations: 86.12 kB / 415.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.354, allocations: 334.8 kB / 416.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.3543, allocations: 116.8 kB / 416.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.3546, allocations: 226.1 kB / 416.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/0.3551, allocations: 377.5 kB / 416.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3551, allocations: 3.938 kB / 416.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008058/0.3559, allocations: 466.7 kB / 417.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.356, allocations: 8.625 kB / 417.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.356, allocations: 4 kB / 417.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004613/0.3606, allocations: 233.4 kB / 417.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.361, allocations: 92.16 kB / 417.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.3626, allocations: 1.946 MB / 419.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.3629, allocations: 8 kB / 419.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.3629, allocations: 20 kB / 419.5 MB, free: 4.156 MB / 350.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.0002215/0.3632, allocations: 165.9 kB / 419.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/0.3633, allocations: 31.66 kB / 419.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3644, allocations: 0.6933 MB / 420.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3644, allocations: 8 kB / 420.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3644, allocations: 4 kB / 420.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008771/0.3653, allocations: 0.8557 MB / 421.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.3668, allocations: 1.194 MB / 422.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.3669, allocations: 64 / 422.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3671, allocations: 71.91 kB / 422.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.3687, allocations: 176.4 kB / 422.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.3688, allocations: 15.98 kB / 422.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003476/0.3691, allocations: 0.5758 MB / 423.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3691, allocations: 3.938 kB / 423.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.3701, allocations: 0.7254 MB / 424 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3702, allocations: 108.6 kB / 424.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.3703, allocations: 12 kB / 424.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3705, allocations: 4 kB / 424.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.3706, allocations: 35.8 kB / 424.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.3706, allocations: 12 kB / 424.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.3708, allocations: 225.9 kB / 424.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3709, allocations: 7.875 kB / 424.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004298/0.3752, allocations: 0.7379 MB / 425.2 MB, free: 14.28 MB / 366.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.03482/0.41, allocations: 6.389 MB / 431.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.4112, allocations: 0.4909 MB / 432.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4112, allocations: 4.125 kB / 432.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.4116, allocations: 216 kB / 432.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.4127, allocations: 191.5 kB / 432.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.4143, allocations: 0.8962 MB / 433.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4147, allocations: 0.8051 MB / 434.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.4152, allocations: 190.9 kB / 434.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.4153, allocations: 39.44 kB / 434.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4153, allocations: 0 / 434.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of Templates: time 0.1955/0.6108, allocations: 28.97 MB / 463.4 MB, free: 107.7 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)