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.001471/0.001472, allocations: 103.8 kB / 16.92 MB, free: 6.145 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.001529/0.001529, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.341/1.341, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001312/0.001312, allocations: 47.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09241, allocations: 46.62 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03809/0.1305, allocations: 37.65 MB / 364.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.193/0.3236, allocations: 30.6 MB / 394.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.3242, allocations: 11.34 kB / 394.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.3255, allocations: 402.7 kB / 395.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.3266, allocations: 0.5215 MB / 395.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.3434, allocations: 5.128 MB / 400.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.3451, allocations: 1.357 MB / 402.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.3454, allocations: 169.2 kB / 402.4 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/0.3461, allocations: 0.5347 MB / 403 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.3466, allocations: 437.7 kB / 403.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.3467, allocations: 53.12 kB / 403.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02267/0.3694, allocations: 12.77 MB / 416.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.3697, allocations: 152.3 kB / 416.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.3702, allocations: 321.1 kB / 416.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04028/0.4105, allocations: 14.91 MB / 431.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4105, allocations: 0.8125 kB / 431.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4105, allocations: 3.938 kB / 431.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4105, allocations: 0.7812 kB / 431.6 MB, free: 6.305 MB / 334.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.007741/0.4183, allocations: 1.424 MB / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4183, allocations: 11.89 kB / 433 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007243/0.4191, allocations: 96.98 kB / 433.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.4196, allocations: 388.1 kB / 433.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.4197, allocations: 33 kB / 433.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.4197, allocations: 44.69 kB / 433.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4208, allocations: 0.6205 MB / 434.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.4209, allocations: 7.938 kB / 434.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.4209, allocations: 16.81 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.4209, allocations: 15.98 kB / 434.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.4219, allocations: 0.5315 MB / 434.8 MB, free: 3.02 MB / 334.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.004326/0.4262, allocations: 3.812 MB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.4272, allocations: 414.3 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.4275, allocations: 218.1 kB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003321/0.4308, allocations: 3.454 MB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4308, allocations: 39.72 kB / 442.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.265e-06/0.4308, allocations: 0 / 442.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.009234/0.4401, allocations: 2.028 MB / 444.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4401, allocations: 63.72 kB / 444.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.4405, allocations: 316.4 kB / 445.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.4405, allocations: 35.05 kB / 445.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.4407, allocations: 232.6 kB / 445.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.4408, allocations: 190.5 kB / 445.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.441, allocations: 119.5 kB / 445.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4411, allocations: 350.8 kB / 446 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.4414, allocations: 182.6 kB / 446.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.4418, allocations: 330.2 kB / 446.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.4426, allocations: 0.5451 MB / 447.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4426, allocations: 1.719 kB / 447.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001199/0.4438, allocations: 0.6738 MB / 447.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4438, allocations: 4 kB / 447.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4439, allocations: 7.938 kB / 447.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009705/0.4536, allocations: 452.2 kB / 448.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.4541, allocations: 139.8 kB / 448.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.4561, allocations: 3.086 MB / 451.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.4564, allocations: 23.92 kB / 451.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.4565, allocations: 28 kB / 451.5 MB, free: 0.9453 MB / 350.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.0002169/0.4567, allocations: 186.7 kB / 451.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4568, allocations: 47.52 kB / 451.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.4583, allocations: 1.048 MB / 452.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4583, allocations: 7.984 kB / 452.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.4584, allocations: 4 kB / 452.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.4595, allocations: 1.087 MB / 453.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.4616, allocations: 1.737 MB / 455.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4616, allocations: 0 / 455.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.462, allocations: 99.95 kB / 455.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003129/0.4651, allocations: 357 kB / 456 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.4652, allocations: 15.94 kB / 456 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006536/0.4658, allocations: 1.151 MB / 457.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4658, allocations: 0 / 457.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.4673, allocations: 1.123 MB / 458.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.4674, allocations: 120.7 kB / 458.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.4675, allocations: 23.83 kB / 458.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4677, allocations: 15.94 kB / 458.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.4678, allocations: 32.52 kB / 458.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.4678, allocations: 23.98 kB / 458.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.4681, allocations: 251 kB / 458.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4681, allocations: 0 / 458.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004875/0.473, allocations: 0.9566 MB / 459.7 MB, free: 8.438 MB / 366.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.0411/0.5141, allocations: 7.87 MB / 467.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.5161, allocations: 0.7401 MB / 468.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5161, allocations: 0 / 468.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.5167, allocations: 375.4 kB / 468.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.5181, allocations: 265.7 kB / 469 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.5202, allocations: 1.331 MB / 470.3 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.5206, allocations: 0.8685 MB / 471.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.5211, allocations: 236.1 kB / 471.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5212, allocations: 47.44 kB / 471.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5212, allocations: 8 kB / 471.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of Templates: time 0.05156/0.5728, allocations: 36.04 MB / 0.4956 GB, free: 8.742 MB / 414.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)