Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001171, 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.001415/0.001416, allocations: 194.7 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.396/1.396, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001162/0.001162, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2145, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03385/0.2484, allocations: 37.65 MB / 363 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03152/0.28, allocations: 30.61 MB / 393.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.2807, allocations: 15.94 kB / 393.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.282, allocations: 401.7 kB / 394 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.2833, allocations: 0.5088 MB / 394.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.297, allocations: 5.129 MB / 399.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.2986, allocations: 1.363 MB / 401 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.299, allocations: 166.7 kB / 401.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.2999, allocations: 0.5294 MB / 401.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/0.3006, allocations: 442.2 kB / 402.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.3007, allocations: 52 kB / 402.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02524/0.326, allocations: 12.77 MB / 414.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.3264, allocations: 151.6 kB / 415.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007542/0.3271, allocations: 326.7 kB / 415.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04236/0.3695, allocations: 14.9 MB / 430.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3696, allocations: 0 / 430.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3696, allocations: 0 / 430.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3696, allocations: 3.938 kB / 430.3 MB, free: 10.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007613/0.3772, allocations: 1.419 MB / 431.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3773, allocations: 19.88 kB / 431.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.378, allocations: 95.25 kB / 431.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.3785, allocations: 378 kB / 432.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.3785, allocations: 37 kB / 432.2 MB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.3786, allocations: 47.98 kB / 432.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.3797, allocations: 0.6205 MB / 432.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.3798, allocations: 4 kB / 432.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.3798, allocations: 20 kB / 432.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3798, allocations: 12 kB / 432.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/0.3808, allocations: 0.5346 MB / 433.5 MB, free: 7.309 MB / 366.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.003921/0.3847, allocations: 3.811 MB / 437.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.3857, allocations: 423.5 kB / 437.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.386, allocations: 209.3 kB / 437.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003097/0.3891, allocations: 3.463 MB / 441.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3891, allocations: 42.94 kB / 441.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.394e-06/0.3891, allocations: 0 / 441.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.0094/0.3985, allocations: 2.026 MB / 443.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3986, allocations: 63.78 kB / 443.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.399, allocations: 304.5 kB / 443.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.399, allocations: 37.7 kB / 443.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3992, allocations: 236.5 kB / 444.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3993, allocations: 193.2 kB / 444.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.3995, allocations: 118.2 kB / 444.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3996, allocations: 346.8 kB / 444.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.3999, allocations: 181.2 kB / 444.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.4004, allocations: 332 kB / 445.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.4012, allocations: 0.5485 MB / 445.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4012, allocations: 0 / 445.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001233/0.4024, allocations: 0.6657 MB / 446.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4025, allocations: 7.938 kB / 446.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4025, allocations: 8 kB / 446.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009113/0.4116, allocations: 454.5 kB / 446.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.4122, allocations: 139.8 kB / 447 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.4146, allocations: 3.077 MB / 450.1 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.415, allocations: 19.94 kB / 450.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.415, allocations: 28.25 kB / 450.1 MB, free: 5.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000318/0.4154, allocations: 205.5 kB / 450.3 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.4155, allocations: 43.53 kB / 450.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.4173, allocations: 1.048 MB / 451.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4173, allocations: 11.98 kB / 451.4 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4173, allocations: 0 / 451.4 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.4185, allocations: 1.095 MB / 452.5 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.4208, allocations: 1.731 MB / 454.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.4208, allocations: 0 / 454.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.4212, allocations: 107.8 kB / 454.4 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/0.4243, allocations: 353 kB / 454.7 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.4243, allocations: 19.98 kB / 454.7 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1756/0.6, allocations: 1.13 MB / 455.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6, allocations: 3.828 kB / 455.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.6021, allocations: 1.126 MB / 457 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.6023, allocations: 128.1 kB / 457.1 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.6024, allocations: 22.88 kB / 457.1 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.6026, allocations: 11.16 kB / 457.1 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.6027, allocations: 35.05 kB / 457.2 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.6028, allocations: 22.69 kB / 457.2 MB, free: 105.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003486/0.6031, allocations: 250.6 kB / 457.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6031, allocations: 0 / 457.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006201/0.6093, allocations: 0.9605 MB / 458.4 MB, free: 105.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.04376/0.6531, allocations: 7.86 MB / 466.3 MB, free: 101.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.6551, allocations: 0.7459 MB / 467 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6551, allocations: 0 / 467 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.6556, allocations: 361.9 kB / 467.4 MB, free: 101.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.657, allocations: 264.4 kB / 467.6 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.6589, allocations: 1.349 MB / 469 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.6592, allocations: 0.8726 MB / 469.8 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.6596, allocations: 232.3 kB / 470.1 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6598, allocations: 49.25 kB / 470.1 MB, free: 100.1 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6598, allocations: 0 / 470.1 MB, free: 100.1 MB / 382.1 MB Notification: Performance of Templates: time 0.04086/0.7006, allocations: 36.05 MB / 0.4943 GB, free: 65.25 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)