Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2253/0.2253, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3865, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03134/0.4179, allocations: 25.06 MB / 0.5551 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008356/0.4263, allocations: 4.375 MB / 0.5594 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.4279, allocations: 19.88 kB / 0.5594 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.4293, allocations: 298.1 kB / 0.5597 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.4347, allocations: 1.629 MB / 0.5613 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.439, allocations: 1.378 MB / 0.5626 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.442, allocations: 1.848 MB / 0.5644 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.4431, allocations: 497.2 kB / 0.5649 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006139/0.4492, allocations: 3.36 MB / 0.5682 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.4519, allocations: 1.43 MB / 0.5696 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.4522, allocations: 60 kB / 0.5696 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.4552, allocations: 1.329 MB / 0.5709 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.4557, allocations: 259.3 kB / 0.5712 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000864/0.4566, allocations: 398.2 kB / 0.5715 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.4598, allocations: 1.382 MB / 0.5729 GB, free: 6.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4598, allocations: 0 / 0.5729 GB, free: 6.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4599, allocations: 0 / 0.5729 GB, free: 6.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.313e-05/0.4599, allocations: 0 / 0.5729 GB, free: 6.328 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002744/0.4626, allocations: 1.152 MB / 0.574 GB, free: 5.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4627, allocations: 8.031 kB / 0.574 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.4629, allocations: 98.7 kB / 0.5741 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.464, allocations: 148.4 kB / 0.5743 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4652, allocations: 0.5448 MB / 0.5748 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.4653, allocations: 104.5 kB / 0.5749 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4655, allocations: 55.98 kB / 0.5749 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.4671, allocations: 0.8355 MB / 0.5758 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.4672, allocations: 3.953 kB / 0.5758 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.4673, allocations: 31.92 kB / 0.5758 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.388e-05/0.4674, allocations: 36.98 kB / 0.5758 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.4687, allocations: 0.6126 MB / 0.5764 GB, free: 2.508 MB / 430.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.006064/0.4748, allocations: 4.687 MB / 0.581 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.4755, allocations: 333.7 kB / 0.5813 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.4758, allocations: 140.7 kB / 0.5815 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.4762, allocations: 409.5 kB / 0.5819 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.4763, allocations: 38.56 kB / 0.5819 GB, free: 12.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 4.84e-06/0.4763, allocations: 3.984 kB / 0.5819 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.004415/0.4807, allocations: 1.543 MB / 0.5834 GB, free: 10.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.4808, allocations: 132.5 kB / 0.5835 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.4818, allocations: 0.6564 MB / 0.5842 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.4819, allocations: 29.7 kB / 0.5842 GB, free: 9.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.4823, allocations: 403.6 kB / 0.5846 GB, free: 9.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4824, allocations: 138.8 kB / 0.5847 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.4827, allocations: 158.5 kB / 0.5849 GB, free: 9.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4829, allocations: 374.8 kB / 0.5852 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.4832, allocations: 201.9 kB / 0.5854 GB, free: 8.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.4839, allocations: 0.4988 MB / 0.5859 GB, free: 8.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.4848, allocations: 0.7093 MB / 0.5866 GB, free: 7.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4848, allocations: 4 kB / 0.5866 GB, free: 7.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001665/0.4865, allocations: 0.888 MB / 0.5875 GB, free: 6.305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4865, allocations: 16.11 kB / 0.5875 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.4866, allocations: 12 kB / 0.5875 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.4878, allocations: 277.5 kB / 0.5878 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.4882, allocations: 123.8 kB / 0.5879 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.4895, allocations: 1.401 MB / 0.5892 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.49, allocations: 28.12 kB / 0.5893 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.4901, allocations: 43.98 kB / 0.5893 GB, free: 4.355 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.4904, allocations: 241.6 kB / 0.5895 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.4905, allocations: 71.52 kB / 0.5896 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.4921, allocations: 0.7165 MB / 0.5903 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4921, allocations: 4 kB / 0.5903 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4922, allocations: 64 / 0.5903 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4922, allocations: 4 kB / 0.5903 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.4941, allocations: 1.212 MB / 0.5915 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4942, allocations: 0 / 0.5915 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.4943, allocations: 43.92 kB / 0.5915 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/0.4952, allocations: 201.5 kB / 0.5917 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.4952, allocations: 8 kB / 0.5917 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.4964, allocations: 1.296 MB / 0.593 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4964, allocations: 3.938 kB / 0.593 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.4977, allocations: 0.816 MB / 0.5938 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.498, allocations: 188.6 kB / 0.594 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.4981, allocations: 15.97 kB / 0.594 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.4985, allocations: 20.06 kB / 0.594 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.4986, allocations: 19.97 kB / 0.594 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.4986, allocations: 23.98 kB / 0.5941 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005767/0.4992, allocations: 455 kB / 0.5945 GB, free: 14.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4992, allocations: 0 / 0.5945 GB, free: 14.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008408/0.5001, allocations: 259.7 kB / 0.5947 GB, free: 14.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * 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: 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,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002371/0.5024, allocations: 1.53 MB / 0.5962 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.5038, allocations: 0.5279 MB / 0.5968 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5038, allocations: 0 / 0.5968 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.5043, allocations: 223.9 kB / 0.597 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.5059, allocations: 333.9 kB / 0.5973 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/0.5145, allocations: 6.144 MB / 0.6033 GB, free: 5.441 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.5151, allocations: 0.9342 MB / 0.6042 GB, free: 4.477 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007372/0.5158, allocations: 257.5 kB / 0.6044 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.5161, allocations: 227.3 kB / 0.6047 GB, free: 4.008 MB / 462.1 MB Notification: Performance of SimCode: time 9.91e-07/0.5161, allocations: 3.938 kB / 0.6047 GB, free: 4.004 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05591/0.5721, allocations: 22.13 MB / 0.6263 GB, free: 14.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.41, allocations: 11.23 kB / 0.6263 GB, free: 14.19 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)