Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001218/0.001218, allocations: 114 kB / 16.63 MB, free: 6.812 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.001305/0.001305, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.321/1.321, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001202/0.001202, allocations: 39.94 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09642, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02547/0.1219, allocations: 26.41 MB / 352.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0249/0.1469, allocations: 24.75 MB / 377.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.1473, allocations: 7.938 kB / 377.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.1483, allocations: 250.8 kB / 377.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007064/0.149, allocations: 358.1 kB / 377.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1973/0.3463, allocations: 3.521 MB / 381.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.3475, allocations: 0.9498 MB / 382.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.3477, allocations: 109.2 kB / 382.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.3482, allocations: 384.7 kB / 382.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.3486, allocations: 315.1 kB / 383.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.3486, allocations: 38.19 kB / 383.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03399/0.3826, allocations: 30.09 MB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.383, allocations: 106.6 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.3835, allocations: 228.8 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0445/0.428, allocations: 20.17 MB / 433.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4281, allocations: 0.8125 kB / 433.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4281, allocations: 0 / 433.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.4281, allocations: 1.359 kB / 433.8 MB, free: 9.125 MB / 350.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.00691/0.435, allocations: 1.139 MB / 434.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4351, allocations: 12.91 kB / 434.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.4357, allocations: 68.62 kB / 435 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.4361, allocations: 317.2 kB / 435.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.4361, allocations: 25.09 kB / 435.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.4362, allocations: 32.12 kB / 435.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000888/0.4371, allocations: 465.1 kB / 435.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4371, allocations: 6.094 kB / 435.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.4371, allocations: 18.25 kB / 435.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.4372, allocations: 8 kB / 435.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.4378, allocations: 386.5 kB / 436.2 MB, free: 7.004 MB / 350.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.003044/0.4409, allocations: 2.953 MB / 439.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.4415, allocations: 286.8 kB / 439.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.4417, allocations: 133.5 kB / 439.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002125/0.4438, allocations: 2.476 MB / 442.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4439, allocations: 37.59 kB / 442.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.4439, allocations: 0 / 442.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005135/0.449, allocations: 1.284 MB / 443.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4491, allocations: 55.41 kB / 443.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.4493, allocations: 265.1 kB / 443.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.4494, allocations: 31.11 kB / 443.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4495, allocations: 199.3 kB / 443.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.4496, allocations: 112.3 kB / 444 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.4497, allocations: 82.8 kB / 444.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4498, allocations: 342.3 kB / 444.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.45, allocations: 111.5 kB / 444.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.4502, allocations: 226.9 kB / 444.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.4507, allocations: 375.1 kB / 445.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4507, allocations: 3.938 kB / 445.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007435/0.4515, allocations: 465.4 kB / 445.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4515, allocations: 9.312 kB / 445.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4515, allocations: 4 kB / 445.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005003/0.4565, allocations: 232.8 kB / 445.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.4569, allocations: 91.02 kB / 445.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.4582, allocations: 1.948 MB / 447.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.4586, allocations: 28.14 kB / 447.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.4586, allocations: 20.56 kB / 447.9 MB, free: 11.71 MB / 366.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.0001765/0.4588, allocations: 173.3 kB / 448.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.4589, allocations: 31.62 kB / 448.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/0.4599, allocations: 0.6881 MB / 448.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4599, allocations: 10.44 kB / 448.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4599, allocations: 0 / 448.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007371/0.4607, allocations: 0.8568 MB / 449.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.462, allocations: 1.192 MB / 450.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.462, allocations: 0 / 450.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.4623, allocations: 70.47 kB / 450.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.4639, allocations: 167.2 kB / 451.1 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.4639, allocations: 17.34 kB / 451.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003281/0.4643, allocations: 0.5791 MB / 451.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4643, allocations: 0 / 451.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.4652, allocations: 0.7427 MB / 452.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.4653, allocations: 108.2 kB / 452.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.4653, allocations: 17.03 kB / 452.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4655, allocations: 20.89 kB / 452.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4656, allocations: 24.16 kB / 452.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.4656, allocations: 9.875 kB / 452.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.4658, allocations: 224.2 kB / 452.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4659, allocations: 0.8125 kB / 452.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004239/0.4701, allocations: 0.7362 MB / 453.6 MB, free: 7.102 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.03313/0.5032, allocations: 6.404 MB / 460 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.5045, allocations: 0.5017 MB / 460.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5045, allocations: 3.562 kB / 460.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.5048, allocations: 221 kB / 460.7 MB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.5059, allocations: 187.8 kB / 460.9 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5075, allocations: 1.042 MB / 461.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.5078, allocations: 0.809 MB / 462.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004157/0.5082, allocations: 193.6 kB / 462.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.5083, allocations: 39.42 kB / 463 MB, free: 14.12 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5083, allocations: 0 / 463 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Templates: time 0.03964/0.548, allocations: 28.94 MB / 491.9 MB, free: 1.23 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)