Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005418/0.005419, allocations: 101.9 kB / 15.73 MB, free: 6.043 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.001123/0.001123, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001084/0.001084, allocations: 55.92 kB / 326.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1084, allocations: 46.62 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3614/0.4698, allocations: 39.25 MB / 412.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.4745, allocations: 2.03 MB / 414.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.4754, allocations: 4.281 kB / 414.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.4765, allocations: 173.6 kB / 414.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.4778, allocations: 319.1 kB / 415 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.4792, allocations: 286.4 kB / 415.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.4811, allocations: 0.8378 MB / 416.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.4814, allocations: 102.2 kB / 416.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1367/0.6182, allocations: 44.11 MB / 460.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007034/0.6189, allocations: 275.8 kB / 460.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.6191, allocations: 28 kB / 460.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.6193, allocations: 35.98 kB / 460.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.6195, allocations: 91.67 kB / 460.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.6198, allocations: 183.3 kB / 460.9 MB, free: 7.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.6205, allocations: 434.6 kB / 461.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.6205, allocations: 4 kB / 461.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6205, allocations: 0 / 461.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.6205, allocations: 4 kB / 461.3 MB, free: 7.035 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001231/0.6218, allocations: 0.5776 MB / 461.9 MB, free: 6.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6218, allocations: 8.031 kB / 461.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.6222, allocations: 44.64 kB / 462 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.6228, allocations: 283.7 kB / 462.2 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.6228, allocations: 20.94 kB / 462.3 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.6229, allocations: 24.38 kB / 462.3 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.6234, allocations: 314.4 kB / 462.6 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.6234, allocations: 7.984 kB / 462.6 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.6235, allocations: 12 kB / 462.6 MB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6235, allocations: 4 kB / 462.6 MB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.6239, allocations: 193.6 kB / 462.8 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.6257, allocations: 1.436 MB / 464.2 MB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.6261, allocations: 182.5 kB / 464.4 MB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.6263, allocations: 92.83 kB / 464.5 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.6263, allocations: 0 / 464.5 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.6264, allocations: 38.56 kB / 464.6 MB, free: 3.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.6264, allocations: 0 / 464.6 MB, free: 3.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002658/0.629, allocations: 1.004 MB / 465.6 MB, free: 2.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.6291, allocations: 59.41 kB / 465.6 MB, free: 2.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.6294, allocations: 258.6 kB / 465.9 MB, free: 2.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.6294, allocations: 33.7 kB / 465.9 MB, free: 2.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6296, allocations: 172.2 kB / 466.1 MB, free: 1.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.6297, allocations: 98.62 kB / 466.2 MB, free: 1.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.6298, allocations: 65.61 kB / 466.2 MB, free: 1.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.63, allocations: 334.8 kB / 466.6 MB, free: 1.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.6301, allocations: 83.97 kB / 466.6 MB, free: 1.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.6303, allocations: 178.9 kB / 466.8 MB, free: 1.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.6307, allocations: 283 kB / 467.1 MB, free: 0.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6307, allocations: 11.88 kB / 467.1 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000682/0.6314, allocations: 386.7 kB / 467.5 MB, free: 440 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6315, allocations: 4 kB / 467.5 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6315, allocations: 4 kB / 467.5 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.6318, allocations: 62.05 kB / 467.5 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.6321, allocations: 71.84 kB / 467.6 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.6345, allocations: 2.886 MB / 470.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.6347, allocations: 15.91 kB / 470.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.6348, allocations: 16 kB / 470.5 MB, free: 13.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.6349, allocations: 147.1 kB / 470.7 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.635, allocations: 31.77 kB / 470.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.83e-05/0.6351, allocations: 38.19 kB / 470.7 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6351, allocations: 4 kB / 470.7 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6351, allocations: 0 / 470.7 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006306/0.6357, allocations: 0.5629 MB / 471.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6368, allocations: 0.6993 MB / 472 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6368, allocations: 4.031 kB / 472 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.637, allocations: 47.91 kB / 472.1 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.6372, allocations: 52.92 kB / 472.1 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.6373, allocations: 4 kB / 472.1 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.6386, allocations: 1.493 MB / 473.6 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6386, allocations: 64 / 473.6 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.6394, allocations: 480.8 kB / 474.1 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.6395, allocations: 96.81 kB / 474.2 MB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.6396, allocations: 8 kB / 474.2 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.6398, allocations: 4 kB / 474.2 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.6398, allocations: 28.03 kB / 474.2 MB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.6398, allocations: 7.938 kB / 474.2 MB, free: 9.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.6401, allocations: 190 kB / 474.4 MB, free: 8.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6401, allocations: 0 / 474.4 MB, free: 8.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004389/0.6405, allocations: 84 kB / 474.5 MB, free: 8.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.6407, allocations: 103.2 kB / 474.6 MB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008315/0.6415, allocations: 477.3 kB / 475.1 MB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6415, allocations: 0 / 475.1 MB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.6419, allocations: 243.1 kB / 475.3 MB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/0.6428, allocations: 160.7 kB / 475.4 MB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6441, allocations: 0.6751 MB / 476.1 MB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6445, allocations: 0.7684 MB / 476.9 MB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.6447, allocations: 58.91 kB / 477 MB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.6448, allocations: 23.44 kB / 477 MB, free: 6.207 MB / 398.1 MB Notification: Performance of SimCode: time 1.763e-06/0.6448, allocations: 4 kB / 477 MB, free: 6.203 MB / 398.1 MB Notification: Performance of Templates: time 0.01176/0.6566, allocations: 5.743 MB / 482.7 MB, free: 468 kB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)