Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.007974/0.007974, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001867/0.001868, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001169/0.001169, allocations: 43.42 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09658, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02627/0.1229, allocations: 26.6 MB / 399.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02424/0.1472, allocations: 24.86 MB / 424.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004724/0.1477, allocations: 7.938 kB / 424.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000945/0.1487, allocations: 290.3 kB / 424.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008625/0.1496, allocations: 369.9 kB / 425.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01237/0.1619, allocations: 4.025 MB / 429.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.1636, allocations: 0.9425 MB / 430.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.1639, allocations: 109 kB / 430.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008282/0.1647, allocations: 394.6 kB / 430.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.1651, allocations: 302.8 kB / 431 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.1652, allocations: 36 kB / 431.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01973/0.1849, allocations: 10.42 MB / 441.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.1852, allocations: 103.7 kB / 441.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.1857, allocations: 227.2 kB / 441.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03436/0.2201, allocations: 11.49 MB / 453.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2201, allocations: 0 / 453.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2201, allocations: 0 / 453.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2202, allocations: 4 kB / 453.3 MB, free: 0.9258 MB / 382.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.1962/0.4164, allocations: 1.174 MB / 454.5 MB, free: 67.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4164, allocations: 8.906 kB / 454.5 MB, free: 67.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.4171, allocations: 72.39 kB / 454.6 MB, free: 67.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.4178, allocations: 321.7 kB / 454.9 MB, free: 67.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.4178, allocations: 24.56 kB / 454.9 MB, free: 67.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.4179, allocations: 35.19 kB / 454.9 MB, free: 67.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.419, allocations: 460.2 kB / 455.4 MB, free: 66.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.419, allocations: 1.094 kB / 455.4 MB, free: 66.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.4191, allocations: 19.97 kB / 455.4 MB, free: 66.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.4191, allocations: 8.438 kB / 455.4 MB, free: 66.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.42, allocations: 391.1 kB / 455.8 MB, free: 66.93 MB / 382.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.003326/0.4233, allocations: 2.958 MB / 458.8 MB, free: 65.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.424, allocations: 291.5 kB / 459 MB, free: 64.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.4242, allocations: 131.6 kB / 459.2 MB, free: 64.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/0.4261, allocations: 2.47 MB / 461.6 MB, free: 62.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4261, allocations: 38.88 kB / 461.7 MB, free: 62.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.4261, allocations: 0 / 461.7 MB, free: 62.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005148/0.4313, allocations: 1.291 MB / 463 MB, free: 61.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.4313, allocations: 59.09 kB / 463 MB, free: 61.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.4317, allocations: 259.3 kB / 463.3 MB, free: 61.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.4317, allocations: 34.67 kB / 463.3 MB, free: 61.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4318, allocations: 193.2 kB / 463.5 MB, free: 61.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.4319, allocations: 130.2 kB / 463.6 MB, free: 61.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.432, allocations: 82.92 kB / 463.7 MB, free: 60.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.4321, allocations: 337.8 kB / 464 MB, free: 60.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.4324, allocations: 115 kB / 464.2 MB, free: 60.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.4326, allocations: 231.5 kB / 464.4 MB, free: 60.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.4331, allocations: 365.3 kB / 464.7 MB, free: 60.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4332, allocations: 2 kB / 464.7 MB, free: 60.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008048/0.434, allocations: 463 kB / 465.2 MB, free: 59.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.434, allocations: 7.562 kB / 465.2 MB, free: 59.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.434, allocations: 4.328 kB / 465.2 MB, free: 59.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004564/0.4386, allocations: 238 kB / 465.4 MB, free: 59.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.4389, allocations: 86.88 kB / 465.5 MB, free: 59.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.44, allocations: 1.949 MB / 467.5 MB, free: 57.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4402, allocations: 12.69 kB / 467.5 MB, free: 57.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.4402, allocations: 20.52 kB / 467.5 MB, free: 57.9 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.0001624/0.4404, allocations: 167.3 kB / 467.7 MB, free: 57.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.4405, allocations: 33.11 kB / 467.7 MB, free: 57.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009632/0.4415, allocations: 0.6849 MB / 468.4 MB, free: 57.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4415, allocations: 11.33 kB / 468.4 MB, free: 57.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.4415, allocations: 1.125 kB / 468.4 MB, free: 57.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007277/0.4422, allocations: 0.8655 MB / 469.3 MB, free: 56.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4436, allocations: 1.191 MB / 470.5 MB, free: 56.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4436, allocations: 4.594 kB / 470.5 MB, free: 56.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.4438, allocations: 62.73 kB / 470.5 MB, free: 56.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.4453, allocations: 180.5 kB / 470.7 MB, free: 56.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.4453, allocations: 11.66 kB / 470.7 MB, free: 56.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002373/0.4456, allocations: 0.569 MB / 471.3 MB, free: 55.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4456, allocations: 1.344 kB / 471.3 MB, free: 55.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.4465, allocations: 0.7415 MB / 472 MB, free: 55.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.4466, allocations: 111.6 kB / 472.1 MB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.4466, allocations: 13.25 kB / 472.1 MB, free: 54.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.4468, allocations: 6.562 kB / 472.1 MB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.4469, allocations: 24.02 kB / 472.2 MB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.4469, allocations: 11.53 kB / 472.2 MB, free: 54.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.4471, allocations: 229.1 kB / 472.4 MB, free: 54.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4471, allocations: 0 / 472.4 MB, free: 54.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004293/0.4514, allocations: 0.7526 MB / 473.2 MB, free: 54.74 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.02167/0.4731, allocations: 6.4 MB / 479.6 MB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009173/0.474, allocations: 491.2 kB / 480 MB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4741, allocations: 0 / 480 MB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.4744, allocations: 220.2 kB / 480.3 MB, free: 51.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4756, allocations: 199.3 kB / 480.4 MB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.4769, allocations: 0.8992 MB / 481.3 MB, free: 50.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.4771, allocations: 0.8101 MB / 482.2 MB, free: 50.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000364/0.4775, allocations: 190.2 kB / 482.3 MB, free: 50.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.4776, allocations: 41.69 kB / 482.4 MB, free: 50.08 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4776, allocations: 0 / 482.4 MB, free: 50.08 MB / 382.1 MB Notification: Performance of Templates: time 0.02999/0.5076, allocations: 29.05 MB / 0.4995 GB, free: 21.35 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)