Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 98.59 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008318/0.0008318, allocations: 43.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2346, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01911/0.2538, allocations: 26.31 MB / 425.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02613/0.2799, allocations: 25.62 MB / 451.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005134/0.2805, allocations: 4 kB / 451.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2817, allocations: 254.7 kB / 451.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.2827, allocations: 358.2 kB / 452 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.2957, allocations: 3.254 MB / 455.2 MB, free: 9.422 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.2979, allocations: 1.395 MB / 456.6 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.2983, allocations: 93.03 kB / 456.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008465/0.2991, allocations: 334.7 kB / 457.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000603/0.2998, allocations: 318.7 kB / 457.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.2998, allocations: 16 kB / 457.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04098/0.3408, allocations: 27.65 MB / 485 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.3411, allocations: 91.66 kB / 485.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.3415, allocations: 203.2 kB / 485.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0562/0.3978, allocations: 20.15 MB / 0.4936 GB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.3978, allocations: 8 kB / 0.4936 GB, free: 6.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3978, allocations: 0 / 0.4936 GB, free: 6.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.3979, allocations: 0 / 0.4936 GB, free: 6.977 MB / 378.7 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.006334/0.4042, allocations: 1.135 MB / 0.4947 GB, free: 5.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4043, allocations: 15.95 kB / 0.4948 GB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005921/0.4049, allocations: 67.53 kB / 0.4948 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.4054, allocations: 318.3 kB / 0.4951 GB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4054, allocations: 24.66 kB / 0.4952 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.4055, allocations: 28 kB / 0.4952 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.4063, allocations: 471.8 kB / 0.4956 GB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.4064, allocations: 3.984 kB / 0.4956 GB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.4064, allocations: 12 kB / 0.4956 GB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.4064, allocations: 11.94 kB / 0.4957 GB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.4072, allocations: 394.2 kB / 0.496 GB, free: 4.398 MB / 378.7 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.003843/0.411, allocations: 2.941 MB / 0.4989 GB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.4117, allocations: 285.1 kB / 0.4992 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.4119, allocations: 141.5 kB / 0.4993 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1733/0.5852, allocations: 2.462 MB / 0.5017 GB, free: 94.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.5853, allocations: 37.44 kB / 0.5018 GB, free: 94.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/0.5853, allocations: 0.8438 kB / 0.5018 GB, free: 94.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004971/0.5903, allocations: 1.289 MB / 0.503 GB, free: 94.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.5903, allocations: 59.81 kB / 0.5031 GB, free: 94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5906, allocations: 265.9 kB / 0.5033 GB, free: 93.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5906, allocations: 30.95 kB / 0.5034 GB, free: 93.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.5907, allocations: 180.6 kB / 0.5035 GB, free: 93.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.5907, allocations: 126.4 kB / 0.5036 GB, free: 93.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.5908, allocations: 84.27 kB / 0.5037 GB, free: 93.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.5909, allocations: 342.9 kB / 0.5041 GB, free: 93.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.5911, allocations: 111.4 kB / 0.5042 GB, free: 93.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.5913, allocations: 225.7 kB / 0.5044 GB, free: 92.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.5917, allocations: 378 kB / 0.5047 GB, free: 92.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5917, allocations: 4.812 kB / 0.5047 GB, free: 92.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006861/0.5924, allocations: 459.9 kB / 0.5052 GB, free: 92.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5924, allocations: 4.719 kB / 0.5052 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5924, allocations: 3.969 kB / 0.5052 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004525/0.597, allocations: 235.6 kB / 0.5054 GB, free: 92.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.5973, allocations: 92.78 kB / 0.5055 GB, free: 92.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009305/0.5983, allocations: 1.838 MB / 0.5073 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.5985, allocations: 35.94 kB / 0.5073 GB, free: 90.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.5985, allocations: 22.62 kB / 0.5073 GB, free: 90.57 MB / 378.7 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.0001601/0.5987, allocations: 170.9 kB / 0.5075 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.5988, allocations: 35.25 kB / 0.5075 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.5999, allocations: 0.687 MB / 0.5082 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.5999, allocations: 12.09 kB / 0.5082 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.5999, allocations: 1.906 kB / 0.5082 GB, free: 90.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006498/0.6005, allocations: 0.8652 MB / 0.5091 GB, free: 89.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.6018, allocations: 1.192 MB / 0.5102 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6018, allocations: 0 / 0.5102 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.6021, allocations: 58.41 kB / 0.5103 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.6035, allocations: 184.9 kB / 0.5105 GB, free: 88.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.6036, allocations: 7.969 kB / 0.5105 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002046/0.6038, allocations: 0.5671 MB / 0.511 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.6038, allocations: 3.891 kB / 0.511 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03328/0.6371, allocations: 12.02 MB / 0.5228 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.6372, allocations: 116.4 kB / 0.5229 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.6373, allocations: 11.88 kB / 0.5229 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.6375, allocations: 19.56 kB / 0.5229 GB, free: 77.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.6375, allocations: 19.97 kB / 0.5229 GB, free: 77.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.6376, allocations: 19.98 kB / 0.5229 GB, free: 77.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.6377, allocations: 225.3 kB / 0.5232 GB, free: 77.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6377, allocations: 0 / 0.5232 GB, free: 77.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006545/0.6443, allocations: 1.45 MB / 0.5246 GB, free: 76.36 MB / 378.7 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.04817/0.6925, allocations: 9.881 MB / 0.5342 GB, free: 66.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008257/0.6933, allocations: 494.9 kB / 0.5347 GB, free: 66.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6934, allocations: 0 / 0.5347 GB, free: 66.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.6937, allocations: 212.3 kB / 0.5349 GB, free: 66.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.6947, allocations: 189.3 kB / 0.5351 GB, free: 65.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.6976, allocations: 1.569 MB / 0.5366 GB, free: 64.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.6978, allocations: 0.8207 MB / 0.5374 GB, free: 63.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003774/0.6982, allocations: 209.1 kB / 0.5376 GB, free: 63.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.6983, allocations: 43.44 kB / 0.5377 GB, free: 63.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6983, allocations: 0 / 0.5377 GB, free: 63.21 MB / 378.7 MB Notification: Performance of Templates: time 0.04765/0.746, allocations: 47.75 MB / 0.5843 GB, free: 15.63 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)