Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001089/0.001089, allocations: 111.7 kB / 16.51 MB, free: 6.707 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.001118/0.001118, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.368/1.368, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.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.001102/0.001102, allocations: 47.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08519, allocations: 46.62 MB / 325.9 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03408/0.1193, allocations: 37.25 MB / 363.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2252/0.3445, allocations: 31.58 MB / 394.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006083/0.3451, allocations: 8.875 kB / 394.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3464, allocations: 342 kB / 395.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3477, allocations: 0.5035 MB / 395.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01719/0.3649, allocations: 4.149 MB / 399.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002728/0.3677, allocations: 2.039 MB / 401.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.368, allocations: 128.8 kB / 401.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.3691, allocations: 471.9 kB / 402.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008944/0.37, allocations: 453.9 kB / 402.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3702, allocations: 31.59 kB / 402.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0531/0.4233, allocations: 35.31 MB / 438.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.4236, allocations: 125.1 kB / 438.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005605/0.4242, allocations: 299.2 kB / 438.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0735/0.4977, allocations: 26.16 MB / 464.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4978, allocations: 0 / 464.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4978, allocations: 0 / 464.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.4978, allocations: 0 / 464.8 MB, free: 3.824 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.00732/0.5051, allocations: 1.418 MB / 466.2 MB, free: 2.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.5052, allocations: 11.97 kB / 466.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007412/0.5059, allocations: 95.39 kB / 466.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.5064, allocations: 383.3 kB / 466.7 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.5064, allocations: 37 kB / 466.7 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.5065, allocations: 51.91 kB / 466.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5077, allocations: 0.6243 MB / 467.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5077, allocations: 4 kB / 467.4 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.5077, allocations: 20 kB / 467.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.5078, allocations: 12 kB / 467.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.5087, allocations: 0.5268 MB / 467.9 MB, free: 0.5391 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.003927/0.5127, allocations: 3.798 MB / 471.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/0.5136, allocations: 416.9 kB / 472.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.5139, allocations: 217.3 kB / 472.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003083/0.517, allocations: 3.458 MB / 475.8 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5171, allocations: 38.94 kB / 475.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.5171, allocations: 0 / 475.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009207/0.5263, allocations: 2.029 MB / 477.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.5263, allocations: 55.84 kB / 477.9 MB, free: 5.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.5266, allocations: 312.4 kB / 478.2 MB, free: 5.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.5267, allocations: 37.7 kB / 478.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5268, allocations: 240.5 kB / 478.5 MB, free: 4.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.527, allocations: 188.1 kB / 478.7 MB, free: 4.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.5271, allocations: 114.3 kB / 478.8 MB, free: 4.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5272, allocations: 350.8 kB / 479.1 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.5275, allocations: 177.2 kB / 479.3 MB, free: 4.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.5279, allocations: 337.7 kB / 479.6 MB, free: 3.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.5287, allocations: 0.5446 MB / 480.2 MB, free: 3.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5287, allocations: 0 / 480.2 MB, free: 3.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001194/0.5299, allocations: 0.6774 MB / 480.9 MB, free: 2.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5299, allocations: 8 kB / 480.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5299, allocations: 4 kB / 480.9 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009713/0.5396, allocations: 446.4 kB / 481.3 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.5402, allocations: 147.7 kB / 481.5 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.5423, allocations: 2.989 MB / 484.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.5428, allocations: 43.97 kB / 484.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.5429, allocations: 32 kB / 484.5 MB, free: 14.49 MB / 398.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.0003237/0.5432, allocations: 186.9 kB / 484.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.5433, allocations: 39.53 kB / 484.7 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.5449, allocations: 1.059 MB / 485.8 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.545, allocations: 15.94 kB / 485.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.545, allocations: 4.062 kB / 485.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/0.5462, allocations: 1.095 MB / 486.9 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.5483, allocations: 1.736 MB / 488.6 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.5483, allocations: 0 / 488.6 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.5487, allocations: 95.89 kB / 488.7 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/0.552, allocations: 349.1 kB / 489.1 MB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.552, allocations: 16 kB / 489.1 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006568/0.5527, allocations: 1.148 MB / 490.2 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5527, allocations: 0 / 490.2 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.5542, allocations: 1.131 MB / 491.4 MB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.5543, allocations: 124.5 kB / 491.5 MB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.5544, allocations: 15.94 kB / 491.5 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.5547, allocations: 35.83 kB / 491.5 MB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.5547, allocations: 32.52 kB / 491.6 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.5548, allocations: 23.98 kB / 491.6 MB, free: 7.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.5551, allocations: 247 kB / 491.8 MB, free: 6.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5551, allocations: 0 / 491.8 MB, free: 6.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005575/0.5606, allocations: 0.9604 MB / 492.8 MB, free: 5.961 MB / 398.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.04369/0.6044, allocations: 7.877 MB / 0.4889 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.6062, allocations: 0.7049 MB / 0.4896 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6062, allocations: 0 / 0.4896 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.6069, allocations: 368.6 kB / 0.49 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.6083, allocations: 257.1 kB / 0.4902 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.6108, allocations: 1.56 MB / 0.4918 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.6113, allocations: 0.8648 MB / 0.4926 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005524/0.6118, allocations: 244 kB / 0.4928 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6119, allocations: 51.42 kB / 0.4929 GB, free: 10.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.6119, allocations: 0 / 0.4929 GB, free: 10.14 MB / 414.1 MB Notification: Performance of Templates: time 0.05047/0.6624, allocations: 35.5 MB / 0.5276 GB, free: 6.605 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)