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.001408/0.001408, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001618/0.001618, allocations: 192 kB / 16.25 MB, free: 6.633 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.348/1.348, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001337/0.001338, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.248, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02469/0.2728, allocations: 26.41 MB / 351.3 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02607/0.2989, allocations: 24.75 MB / 376 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.2994, allocations: 4 kB / 376 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3005, allocations: 262.8 kB / 376.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.3013, allocations: 346.1 kB / 376.6 MB, free: 184 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.3138, allocations: 3.546 MB / 380.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.3157, allocations: 0.9503 MB / 381.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.3159, allocations: 113 kB / 381.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.3166, allocations: 390.6 kB / 381.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.317, allocations: 310.8 kB / 381.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.3171, allocations: 36 kB / 381.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03826/0.3554, allocations: 30.08 MB / 412 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.3556, allocations: 111.6 kB / 412.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.356, allocations: 223.1 kB / 412.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04466/0.4006, allocations: 20.17 MB / 432.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4007, allocations: 3.938 kB / 432.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4007, allocations: 8 kB / 432.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4007, allocations: 0 / 432.5 MB, free: 8.051 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006782/0.4075, allocations: 1.138 MB / 433.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4076, allocations: 12.02 kB / 433.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/0.4081, allocations: 67.53 kB / 433.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.4087, allocations: 314.3 kB / 434 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.4088, allocations: 24.66 kB / 434.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.4089, allocations: 36 kB / 434.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.4098, allocations: 459.8 kB / 434.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.4099, allocations: 3.984 kB / 434.6 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.4099, allocations: 20 kB / 434.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.4099, allocations: 11.94 kB / 434.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/0.4106, allocations: 382.3 kB / 435 MB, free: 5.484 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.003154/0.4138, allocations: 2.945 MB / 437.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.4144, allocations: 290.8 kB / 438.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.4146, allocations: 133.3 kB / 438.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002193/0.4168, allocations: 2.474 MB / 440.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4169, allocations: 42.55 kB / 440.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.534e-06/0.4169, allocations: 0 / 440.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005184/0.4221, allocations: 1.281 MB / 442.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.4221, allocations: 55.41 kB / 442.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.4224, allocations: 270.4 kB / 442.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.4225, allocations: 29.7 kB / 442.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4226, allocations: 188 kB / 442.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.4227, allocations: 122.3 kB / 442.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4228, allocations: 86.12 kB / 442.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.423, allocations: 338.8 kB / 443.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.4231, allocations: 112.8 kB / 443.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4234, allocations: 230 kB / 443.5 MB, free: 12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.4239, allocations: 377.5 kB / 443.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4239, allocations: 7.938 kB / 443.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007764/0.4247, allocations: 458.9 kB / 444.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4247, allocations: 6.969 kB / 444.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4247, allocations: 4 kB / 444.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005098/0.4298, allocations: 237.4 kB / 444.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.4302, allocations: 91.78 kB / 444.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.4316, allocations: 1.943 MB / 446.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.4319, allocations: 32.14 kB / 446.6 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.4319, allocations: 23.92 kB / 446.7 MB, free: 8.613 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.0001952/0.4321, allocations: 161.7 kB / 446.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.4322, allocations: 31.62 kB / 446.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.4332, allocations: 0.6934 MB / 447.5 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.4333, allocations: 7.984 kB / 447.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4333, allocations: 3.938 kB / 447.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007655/0.434, allocations: 0.8557 MB / 448.4 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.4354, allocations: 1.191 MB / 449.6 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.4355, allocations: 0 / 449.6 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4357, allocations: 63.91 kB / 449.7 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.4374, allocations: 180.5 kB / 449.8 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4374, allocations: 12 kB / 449.9 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003223/0.4378, allocations: 0.5679 MB / 450.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4378, allocations: 3.938 kB / 450.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000887/0.4387, allocations: 0.7331 MB / 451.2 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.4388, allocations: 116.8 kB / 451.3 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.4388, allocations: 11.91 kB / 451.3 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.4391, allocations: 15.94 kB / 451.3 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.4391, allocations: 23.78 kB / 451.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.4392, allocations: 19.98 kB / 451.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.4394, allocations: 225.9 kB / 451.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4394, allocations: 4 kB / 451.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00453/0.4439, allocations: 0.734 MB / 452.3 MB, free: 2.742 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.1812/0.6251, allocations: 6.387 MB / 458.7 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.6263, allocations: 0.4928 MB / 459.2 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6263, allocations: 0 / 459.2 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.6267, allocations: 227.1 kB / 459.4 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6278, allocations: 190.5 kB / 459.6 MB, free: 110.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.6293, allocations: 1.058 MB / 460.7 MB, free: 109.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.6296, allocations: 0.8066 MB / 461.5 MB, free: 108.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004165/0.63, allocations: 188.3 kB / 461.6 MB, free: 108.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.6301, allocations: 39.62 kB / 461.7 MB, free: 108.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6301, allocations: 1.094 kB / 461.7 MB, free: 108.9 MB / 382.1 MB Notification: Performance of Templates: time 0.03265/0.6628, allocations: 28.93 MB / 490.6 MB, free: 84.65 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)