Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001086/0.001086, allocations: 189.8 kB / 16.14 MB, free: 6.707 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.342/1.342, allocations: 205.1 MB / 222 MB, free: 4.754 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.001103/0.001103, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2092, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03397/0.2432, allocations: 37.25 MB / 361.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03178/0.275, allocations: 31.59 MB / 393.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.2758, allocations: 7.938 kB / 393.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.2769, allocations: 346.3 kB / 393.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.278, allocations: 0.5052 MB / 394.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.2909, allocations: 4.148 MB / 398.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.2933, allocations: 2.046 MB / 400.6 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.2936, allocations: 130.7 kB / 400.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.2943, allocations: 458.2 kB / 401.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.2948, allocations: 462.2 kB / 401.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.2949, allocations: 28 kB / 401.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05235/0.3473, allocations: 35.31 MB / 436.9 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.3476, allocations: 127.5 kB / 437 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.3481, allocations: 294.8 kB / 437.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2516/0.5998, allocations: 26.15 MB / 463.5 MB, free: 48.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5998, allocations: 0 / 463.5 MB, free: 48.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5999, allocations: 0 / 463.5 MB, free: 48.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.5999, allocations: 0 / 463.5 MB, free: 48.55 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01081/0.6107, allocations: 1.425 MB / 464.9 MB, free: 47.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6107, allocations: 8.812 kB / 464.9 MB, free: 47.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/0.6115, allocations: 93.44 kB / 465 MB, free: 47.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.6119, allocations: 381 kB / 465.4 MB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.6119, allocations: 39.75 kB / 465.4 MB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.612, allocations: 45.88 kB / 465.5 MB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.613, allocations: 0.6182 MB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.6131, allocations: 5.25 kB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.6131, allocations: 24.03 kB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.6131, allocations: 12.41 kB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.614, allocations: 0.527 MB / 466.6 MB, free: 47.35 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.003264/0.6173, allocations: 3.794 MB / 470.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008097/0.6181, allocations: 424.5 kB / 470.9 MB, free: 44.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.6184, allocations: 205.9 kB / 471.1 MB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002324/0.6207, allocations: 3.459 MB / 474.5 MB, free: 41.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.6208, allocations: 41.59 kB / 474.6 MB, free: 41.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.034e-06/0.6208, allocations: 0 / 474.6 MB, free: 41.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009296/0.6301, allocations: 2.018 MB / 476.6 MB, free: 40.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.6301, allocations: 61.19 kB / 476.6 MB, free: 40.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.6305, allocations: 314.8 kB / 476.9 MB, free: 40.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.6305, allocations: 35.48 kB / 477 MB, free: 40.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.6307, allocations: 232.4 kB / 477.2 MB, free: 40.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.6308, allocations: 191.7 kB / 477.4 MB, free: 40.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.6309, allocations: 116.1 kB / 477.5 MB, free: 40.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.631, allocations: 352.3 kB / 477.8 MB, free: 40.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.6313, allocations: 180.9 kB / 478 MB, free: 40.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.6317, allocations: 330 kB / 478.3 MB, free: 39.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.6324, allocations: 0.5502 MB / 478.9 MB, free: 39.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6324, allocations: 3.469 kB / 478.9 MB, free: 39.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001139/0.6335, allocations: 0.6646 MB / 479.6 MB, free: 39.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6336, allocations: 5.344 kB / 479.6 MB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6336, allocations: 10.56 kB / 479.6 MB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009685/0.6433, allocations: 455.8 kB / 480 MB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.6439, allocations: 142.6 kB / 480.2 MB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.6453, allocations: 2.986 MB / 483.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.6458, allocations: 47.77 kB / 483.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.6459, allocations: 29.73 kB / 483.2 MB, free: 36.71 MB / 382.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.0002449/0.6461, allocations: 198.4 kB / 483.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.6463, allocations: 39.12 kB / 483.5 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.6477, allocations: 1.057 MB / 484.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.6477, allocations: 12.44 kB / 484.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6477, allocations: 0 / 484.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009865/0.6487, allocations: 1.09 MB / 485.6 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.6506, allocations: 1.731 MB / 487.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6506, allocations: 0 / 487.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.651, allocations: 97.27 kB / 487.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/0.6542, allocations: 351.5 kB / 487.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.6543, allocations: 21.17 kB / 487.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004468/0.6547, allocations: 1.142 MB / 488.9 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6547, allocations: 2.516 kB / 489 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.656, allocations: 1.133 MB / 490.1 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.6561, allocations: 130.2 kB / 490.2 MB, free: 34.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.6562, allocations: 14.66 kB / 490.2 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.6566, allocations: 27.77 kB / 490.3 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.6566, allocations: 35.53 kB / 490.3 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.6567, allocations: 23.75 kB / 490.3 MB, free: 34.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.6569, allocations: 260.8 kB / 490.6 MB, free: 34.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6569, allocations: 0 / 490.6 MB, free: 34.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006779/0.6637, allocations: 0.9551 MB / 491.5 MB, free: 34.06 MB / 382.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.04685/0.7106, allocations: 7.855 MB / 499.4 MB, free: 26.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.712, allocations: 0.7207 MB / 0.4884 GB, free: 26.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7121, allocations: 0 / 0.4884 GB, free: 26.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.7126, allocations: 361.2 kB / 0.4887 GB, free: 26.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.714, allocations: 258.6 kB / 0.489 GB, free: 25.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.7158, allocations: 1.57 MB / 0.4905 GB, free: 24.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.716, allocations: 0.863 MB / 0.4913 GB, free: 23.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.7165, allocations: 242.4 kB / 0.4916 GB, free: 23.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.7166, allocations: 50.88 kB / 0.4916 GB, free: 23.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.7166, allocations: 0 / 0.4916 GB, free: 23.56 MB / 382.1 MB Notification: Performance of Templates: time 0.04144/0.758, allocations: 35.51 MB / 0.5263 GB, free: 6.176 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)