Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001161/0.001161, 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.001262/0.001262, allocations: 191 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.34/1.34, allocations: 205.1 MB / 222 MB, free: 4.73 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.001142/0.001142, allocations: 47.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2132, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03463/0.2479, allocations: 37.25 MB / 361.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03084/0.2787, allocations: 31.58 MB / 393.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.2794, allocations: 11.94 kB / 393.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.2806, allocations: 354.2 kB / 393.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009506/0.2815, allocations: 0.4974 MB / 394.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.2951, allocations: 4.159 MB / 398.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002394/0.2975, allocations: 2.03 MB / 400.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.2978, allocations: 131.3 kB / 400.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007743/0.2986, allocations: 470.1 kB / 401.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004924/0.2991, allocations: 458.2 kB / 401.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.2991, allocations: 28 kB / 401.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05309/0.3522, allocations: 35.3 MB / 436.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004998/0.3528, allocations: 131.5 kB / 437 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009565/0.3538, allocations: 294.8 kB / 437.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2517/0.6055, allocations: 26.15 MB / 463.5 MB, free: 48.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6055, allocations: 3.812 kB / 463.5 MB, free: 48.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6056, allocations: 4.188 kB / 463.5 MB, free: 48.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.6056, 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.01093/0.6165, allocations: 1.422 MB / 464.9 MB, free: 47.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.6166, allocations: 6.5 kB / 464.9 MB, free: 47.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/0.6174, allocations: 92.66 kB / 465 MB, free: 47.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.6178, allocations: 380 kB / 465.4 MB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.6179, allocations: 35.84 kB / 465.4 MB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.6179, allocations: 46.69 kB / 465.5 MB, free: 47.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.6189, allocations: 0.6236 MB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.619, allocations: 5.781 kB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.619, allocations: 21.62 kB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.619, allocations: 12.72 kB / 466.1 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.6199, allocations: 0.5312 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.003287/0.6232, allocations: 3.791 MB / 470.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008003/0.624, allocations: 418.5 kB / 470.8 MB, free: 44.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.6243, allocations: 216.1 kB / 471.1 MB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002492/0.6268, allocations: 3.458 MB / 474.5 MB, free: 41.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.6269, allocations: 34.78 kB / 474.5 MB, free: 41.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.345e-06/0.6269, allocations: 1.219 kB / 474.5 MB, free: 41.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008947/0.6358, allocations: 2.028 MB / 476.6 MB, free: 40.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.6359, allocations: 59.56 kB / 476.6 MB, free: 40.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.6361, allocations: 314.3 kB / 476.9 MB, free: 40.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.6362, allocations: 35.05 kB / 477 MB, free: 40.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.6363, allocations: 227.3 kB / 477.2 MB, free: 40.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.837e-05/0.6364, allocations: 196.1 kB / 477.4 MB, free: 40.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.6365, allocations: 120.9 kB / 477.5 MB, free: 40.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.6366, allocations: 351.8 kB / 477.9 MB, free: 40.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.6368, allocations: 179 kB / 478 MB, free: 40.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.6372, allocations: 326.1 kB / 478.3 MB, free: 39.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.6378, allocations: 0.5529 MB / 478.9 MB, free: 39.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6378, allocations: 0 / 478.9 MB, free: 39.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001072/0.6389, allocations: 0.6676 MB / 479.6 MB, free: 39.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6389, allocations: 12.28 kB / 479.6 MB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6389, allocations: 7.469 kB / 479.6 MB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.6491, allocations: 445.4 kB / 480 MB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.6497, allocations: 143.7 kB / 480.2 MB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.6511, allocations: 2.987 MB / 483.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.6515, allocations: 46.75 kB / 483.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.6516, allocations: 27.22 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.0002227/0.6518, allocations: 200.8 kB / 483.4 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6519, allocations: 44 kB / 483.5 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.6532, allocations: 1.059 MB / 484.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6532, allocations: 14.59 kB / 484.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.6532, allocations: 0 / 484.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008953/0.6541, allocations: 1.09 MB / 485.6 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.6558, allocations: 1.725 MB / 487.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6559, allocations: 0 / 487.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.6562, allocations: 101.3 kB / 487.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/0.6595, allocations: 355.3 kB / 487.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.6596, allocations: 12.56 kB / 487.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004212/0.66, allocations: 1.147 MB / 489 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.66, allocations: 4.062 kB / 489 MB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.6612, allocations: 1.13 MB / 490.1 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.6613, allocations: 129.4 kB / 490.2 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.641e-05/0.6614, allocations: 14.97 kB / 490.2 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.6617, allocations: 26.92 kB / 490.3 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.6617, allocations: 38.14 kB / 490.3 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.6618, allocations: 22.31 kB / 490.3 MB, free: 34.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.662, allocations: 256.2 kB / 490.6 MB, free: 34.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.662, allocations: 0 / 490.6 MB, free: 34.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007247/0.6692, allocations: 0.9582 MB / 491.5 MB, free: 34.05 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.04393/0.7132, allocations: 7.86 MB / 499.4 MB, free: 26.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.7146, allocations: 0.7078 MB / 0.4884 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7147, allocations: 5.125 kB / 0.4884 GB, free: 26.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.7152, allocations: 366.9 kB / 0.4887 GB, free: 26.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.7166, allocations: 259.9 kB / 0.489 GB, free: 25.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.7184, allocations: 1.569 MB / 0.4905 GB, free: 24.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.7187, allocations: 0.8642 MB / 0.4913 GB, free: 23.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004819/0.7192, allocations: 238.3 kB / 0.4916 GB, free: 23.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.7193, allocations: 50.69 kB / 0.4916 GB, free: 23.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.7193, allocations: 1.094 kB / 0.4916 GB, free: 23.55 MB / 382.1 MB Notification: Performance of Templates: time 0.04169/0.761, allocations: 35.5 MB / 0.5263 GB, free: 6.234 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)