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.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 122.1 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.001382/0.001382, allocations: 202 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.555/1.555, allocations: 227.4 MB / 247 MB, free: 10.46 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.2318/0.2318, allocations: 46.12 MB / 344.4 MB, free: 11.49 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.002265/0.002265, allocations: 80.11 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3742, allocations: 62.43 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03402/0.4083, allocations: 25.08 MB / 0.5551 GB, free: 8.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007883/0.4162, allocations: 4.379 MB / 0.5594 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.4173, allocations: 19.88 kB / 0.5594 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.4185, allocations: 306 kB / 0.5597 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.4235, allocations: 1.575 MB / 0.5612 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.4275, allocations: 1.346 MB / 0.5625 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.4305, allocations: 1.852 MB / 0.5643 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.4316, allocations: 489.2 kB / 0.5648 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006053/0.4377, allocations: 3.024 MB / 0.5678 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.4405, allocations: 1.305 MB / 0.569 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.441, allocations: 64 kB / 0.5691 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.4442, allocations: 1.23 MB / 0.5703 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.4448, allocations: 271.2 kB / 0.5706 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.446, allocations: 398.2 kB / 0.5709 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.4499, allocations: 1.378 MB / 0.5723 GB, free: 6.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4499, allocations: 4 kB / 0.5723 GB, free: 6.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4499, allocations: 0 / 0.5723 GB, free: 6.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.844e-05/0.4499, allocations: 4 kB / 0.5723 GB, free: 6.961 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.003115/0.4531, allocations: 1.144 MB / 0.5734 GB, free: 5.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.4531, allocations: 8.031 kB / 0.5734 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.4534, allocations: 106.6 kB / 0.5735 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.4545, allocations: 136.4 kB / 0.5737 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.4556, allocations: 0.5486 MB / 0.5742 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.4558, allocations: 104.5 kB / 0.5743 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.4559, allocations: 55.98 kB / 0.5743 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.4574, allocations: 0.8316 MB / 0.5752 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.4575, allocations: 11.95 kB / 0.5752 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.4576, allocations: 24 kB / 0.5752 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.891e-05/0.4576, allocations: 40.92 kB / 0.5752 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.4589, allocations: 0.6086 MB / 0.5758 GB, free: 3.152 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.005571/0.4645, allocations: 4.695 MB / 0.5804 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.4652, allocations: 326 kB / 0.5807 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.4655, allocations: 140.8 kB / 0.5809 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.4658, allocations: 417.5 kB / 0.5813 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.4659, allocations: 38.5 kB / 0.5813 GB, free: 13.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/0.4659, allocations: 0 / 0.5813 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.004282/0.4702, allocations: 1.547 MB / 0.5828 GB, free: 11.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.4703, allocations: 132.5 kB / 0.5829 GB, free: 11.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009096/0.4712, allocations: 0.6564 MB / 0.5836 GB, free: 10.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.4713, allocations: 33.7 kB / 0.5836 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.4716, allocations: 399.6 kB / 0.584 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4718, allocations: 138.8 kB / 0.5841 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.472, allocations: 154.5 kB / 0.5843 GB, free: 9.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4722, allocations: 374.8 kB / 0.5846 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.4726, allocations: 201.9 kB / 0.5848 GB, free: 9.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.4733, allocations: 0.5066 MB / 0.5853 GB, free: 8.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4743, allocations: 0.7015 MB / 0.586 GB, free: 7.836 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.4743, allocations: 4 kB / 0.586 GB, free: 7.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001869/0.4762, allocations: 0.8953 MB / 0.5869 GB, free: 6.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.4762, allocations: 8 kB / 0.5869 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.4762, allocations: 8 kB / 0.5869 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.4776, allocations: 278 kB / 0.5871 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.478, allocations: 131.8 kB / 0.5873 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.4794, allocations: 1.393 MB / 0.5886 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.4799, allocations: 28 kB / 0.5887 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.48, allocations: 36 kB / 0.5887 GB, free: 4.996 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.0003712/0.4804, allocations: 253.7 kB / 0.5889 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.4805, allocations: 75.52 kB / 0.589 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.4822, allocations: 0.7126 MB / 0.5897 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.4822, allocations: 4 kB / 0.5897 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4822, allocations: 0 / 0.5897 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4822, allocations: 7.922 kB / 0.5897 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4843, allocations: 1.205 MB / 0.5909 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4843, allocations: 4 kB / 0.5909 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.4845, allocations: 47.91 kB / 0.5909 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009332/0.4855, allocations: 197.5 kB / 0.5911 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.4855, allocations: 15.98 kB / 0.5911 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.4867, allocations: 1.296 MB / 0.5924 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4867, allocations: 3.938 kB / 0.5924 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4882, allocations: 0.812 MB / 0.5932 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.4885, allocations: 188.7 kB / 0.5934 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.4887, allocations: 8 kB / 0.5934 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.4891, allocations: 15.98 kB / 0.5934 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.4892, allocations: 23.97 kB / 0.5934 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.4892, allocations: 23.97 kB / 0.5935 GB, free: 15.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.4899, allocations: 455 kB / 0.5939 GB, free: 15.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4899, allocations: 64 / 0.5939 GB, free: 15.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009682/0.4909, allocations: 263.7 kB / 0.5941 GB, free: 15.2 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.002439/0.4933, allocations: 1.528 MB / 0.5956 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.4946, allocations: 0.524 MB / 0.5961 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4946, allocations: 4.125 kB / 0.5961 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.4951, allocations: 223.7 kB / 0.5964 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.4967, allocations: 339.9 kB / 0.5967 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/0.5063, allocations: 6.15 MB / 0.6027 GB, free: 6.066 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.507, allocations: 0.9264 MB / 0.6036 GB, free: 5.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007789/0.5078, allocations: 255.7 kB / 0.6038 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.5082, allocations: 231.3 kB / 0.6041 GB, free: 4.637 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5082, allocations: 0 / 0.6041 GB, free: 4.637 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/0.5707, allocations: 22.14 MB / 0.6257 GB, free: 14.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.37, allocations: 16.12 kB / 0.6257 GB, free: 14.81 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_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_Glycol47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)