Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01383/0.01383, allocations: 163.4 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.812/1.812, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001768/0.001768, allocations: 102.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4924/0.4924, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000745/0.0007454, allocations: 19.98 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1105, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3625/0.4731, allocations: 40.96 MB / 452.7 MB, free: 28.49 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008341/0.4815, allocations: 4.21 MB / 456.9 MB, free: 25.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.4829, allocations: 24.38 kB / 456.9 MB, free: 25.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.4843, allocations: 247.7 kB / 457.1 MB, free: 25.39 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003558/0.4879, allocations: 0.8414 MB / 458 MB, free: 24.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.4911, allocations: 0.692 MB / 458.7 MB, free: 24.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.4944, allocations: 2.186 MB / 460.9 MB, free: 23.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009966/0.4955, allocations: 369.9 kB / 461.2 MB, free: 23.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1694/0.6649, allocations: 72.02 MB / 0.5208 GB, free: 3.219 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03412/0.6991, allocations: 13.65 MB / 0.5341 GB, free: 5.566 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.6994, allocations: 32 kB / 0.5341 GB, free: 5.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04618/0.7456, allocations: 18.37 MB / 0.552 GB, free: 3.156 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006606/0.7463, allocations: 227.3 kB / 0.5523 GB, free: 2.934 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.7467, allocations: 157.4 kB / 0.5524 GB, free: 2.773 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.7484, allocations: 0.7753 MB / 0.5532 GB, free: 1.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7485, allocations: 0 / 0.5532 GB, free: 1.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7485, allocations: 0 / 0.5532 GB, free: 1.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.7485, allocations: 0 / 0.5532 GB, free: 1.996 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003167/0.7517, allocations: 0.9241 MB / 0.5541 GB, free: 1.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.7518, allocations: 8.031 kB / 0.5541 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002976/0.7521, allocations: 102.5 kB / 0.5542 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005111/0.7526, allocations: 91.05 kB / 0.5543 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.754, allocations: 496.6 kB / 0.5547 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.7541, allocations: 108.4 kB / 0.5548 GB, free: 180 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.7543, allocations: 55.86 kB / 0.5549 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.7565, allocations: 0.8182 MB / 0.5557 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.7565, allocations: 3.938 kB / 0.5557 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.7567, allocations: 24 kB / 0.5557 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.7568, allocations: 44.97 kB / 0.5558 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.7587, allocations: 0.6399 MB / 0.5564 GB, free: 14.52 MB / 410.7 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.007939/0.7667, allocations: 4.188 MB / 0.5605 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.7681, allocations: 409.8 kB / 0.5609 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.7688, allocations: 213.4 kB / 0.5611 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/0.7695, allocations: 0.495 MB / 0.5616 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.7695, allocations: 38.89 kB / 0.5616 GB, free: 8.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.426e-06/0.7695, allocations: 3.938 kB / 0.5616 GB, free: 8.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.005136/0.7747, allocations: 1.501 MB / 0.5631 GB, free: 7.211 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7748, allocations: 132.5 kB / 0.5632 GB, free: 7.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.7759, allocations: 0.5536 MB / 0.5637 GB, free: 6.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.7761, allocations: 37.7 kB / 0.5638 GB, free: 6.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.7765, allocations: 363.4 kB / 0.5641 GB, free: 6.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.7768, allocations: 165.7 kB / 0.5643 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.7769, allocations: 16 kB / 0.5643 GB, free: 5.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.7771, allocations: 374.8 kB / 0.5646 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.7778, allocations: 217.9 kB / 0.5649 GB, free: 5.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.7788, allocations: 0.5411 MB / 0.5654 GB, free: 4.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008854/0.7797, allocations: 324.5 kB / 0.5657 GB, free: 4.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.7798, allocations: 4 kB / 0.5657 GB, free: 4.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003355/0.7831, allocations: 0.9803 MB / 0.5666 GB, free: 3.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.7832, allocations: 8 kB / 0.5667 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.7832, allocations: 12 kB / 0.5667 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.7852, allocations: 256.9 kB / 0.5669 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/0.7863, allocations: 135.8 kB / 0.567 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.788, allocations: 0.8587 MB / 0.5679 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.7891, allocations: 44.81 kB / 0.5679 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7893, allocations: 44.05 kB / 0.568 GB, free: 1.945 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005572/0.7898, allocations: 246.5 kB / 0.5682 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.79, allocations: 71.28 kB / 0.5683 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.7923, allocations: 0.7178 MB / 0.569 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.7923, allocations: 4 kB / 0.569 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7924, allocations: 0 / 0.569 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7924, allocations: 0 / 0.569 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.796, allocations: 1.372 MB / 0.5703 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.7961, allocations: 6 kB / 0.5703 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/0.7981, allocations: 192 kB / 0.5705 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005511/0.7987, allocations: 68.62 kB / 0.5706 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/0.7988, allocations: 15.98 kB / 0.5706 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.8025, allocations: 2.803 MB / 0.5733 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.8026, allocations: 3.938 kB / 0.5733 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.8053, allocations: 0.9862 MB / 0.5743 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.806, allocations: 192.2 kB / 0.5745 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.8061, allocations: 19.94 kB / 0.5745 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007497/0.8069, allocations: 27.89 kB / 0.5745 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.8071, allocations: 40 kB / 0.5746 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.8072, allocations: 20 kB / 0.5746 GB, free: 10.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007827/0.808, allocations: 378.8 kB / 0.5749 GB, free: 10.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.808, allocations: 0 / 0.5749 GB, free: 10.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001381/0.8094, allocations: 211.9 kB / 0.5751 GB, free: 10.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003594/0.813, allocations: 1.65 MB / 0.5767 GB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.815, allocations: 0.6039 MB / 0.5773 GB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.8151, allocations: 0 / 0.5773 GB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.8172, allocations: 485.2 kB / 0.5778 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/0.8201, allocations: 311.7 kB / 0.5781 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.8315, allocations: 4.301 MB / 0.5823 GB, free: 2.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/0.8324, allocations: 0.9581 MB / 0.5832 GB, free: 1.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001315/0.8337, allocations: 214.9 kB / 0.5834 GB, free: 1.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/0.8343, allocations: 227.4 kB / 0.5837 GB, free: 1.164 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8343, allocations: 0 / 0.5837 GB, free: 1.164 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3501/1.184, allocations: 19.46 MB / 0.6027 GB, free: 138 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.185, allocations: 285.3 kB / 0.6029 GB, free: 137.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/4.699, allocations: 0 / 0.6029 GB, free: 137.6 MB / 426.7 MB