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.001496/0.001496, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2363/0.2363, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002289/0.002289, allocations: 89.22 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1175, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03007/0.1476, allocations: 25.07 MB / 0.4935 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.1552, allocations: 4.375 MB / 0.4977 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.1559, allocations: 23.88 kB / 0.4977 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009408/0.1569, allocations: 294.1 kB / 0.498 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.161, allocations: 1.587 MB / 0.4996 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.1642, allocations: 1.329 MB / 0.5009 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.1669, allocations: 1.856 MB / 0.5027 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007869/0.1677, allocations: 473.4 kB / 0.5031 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2678/0.4355, allocations: 3.033 MB / 0.5061 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.4382, allocations: 1.3 MB / 0.5074 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.4385, allocations: 63.39 kB / 0.5074 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.4413, allocations: 1.187 MB / 0.5086 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.4417, allocations: 267.1 kB / 0.5088 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.4424, allocations: 404.2 kB / 0.5092 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.4446, allocations: 1.361 MB / 0.5106 GB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4447, allocations: 3.938 kB / 0.5106 GB, free: 13.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4447, allocations: 0 / 0.5106 GB, free: 13.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4447, allocations: 0 / 0.5106 GB, free: 13.26 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002383/0.4471, allocations: 1.12 MB / 0.5117 GB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4471, allocations: 9.531 kB / 0.5117 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.4473, allocations: 106.7 kB / 0.5118 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.4484, allocations: 144.1 kB / 0.5119 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.4493, allocations: 0.5083 MB / 0.5124 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.4494, allocations: 109.6 kB / 0.5125 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.4495, allocations: 48.28 kB / 0.5126 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.4511, allocations: 0.8349 MB / 0.5134 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.4511, allocations: 7.719 kB / 0.5134 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.4512, allocations: 27.36 kB / 0.5134 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.4513, allocations: 41.59 kB / 0.5134 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4526, allocations: 0.6026 MB / 0.514 GB, free: 12.04 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.00513/0.4577, allocations: 4.685 MB / 0.5186 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.4585, allocations: 328.3 kB / 0.5189 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.4588, allocations: 139.1 kB / 0.5191 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.459, allocations: 424.1 kB / 0.5195 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4591, allocations: 43.12 kB / 0.5195 GB, free: 8.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.956e-06/0.4591, allocations: 1.469 kB / 0.5195 GB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004179/0.4633, allocations: 1.541 MB / 0.521 GB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4633, allocations: 139.6 kB / 0.5211 GB, free: 7.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008218/0.4642, allocations: 0.6521 MB / 0.5218 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.4642, allocations: 34.95 kB / 0.5218 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.4645, allocations: 388.7 kB / 0.5222 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4646, allocations: 132.6 kB / 0.5223 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.4648, allocations: 150.8 kB / 0.5224 GB, free: 6.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4649, allocations: 380.2 kB / 0.5228 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.4653, allocations: 199.5 kB / 0.523 GB, free: 6.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.4658, allocations: 0.4981 MB / 0.5235 GB, free: 6.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.4667, allocations: 0.7095 MB / 0.5242 GB, free: 5.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4668, allocations: 2.094 kB / 0.5242 GB, free: 5.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001611/0.4684, allocations: 0.8884 MB / 0.525 GB, free: 5.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4684, allocations: 9.812 kB / 0.5251 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.4684, allocations: 10.06 kB / 0.5251 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.4697, allocations: 295.7 kB / 0.5253 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.4701, allocations: 122 kB / 0.5255 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.4711, allocations: 1.408 MB / 0.5268 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.4717, allocations: 24.78 kB / 0.5269 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.4718, allocations: 42.06 kB / 0.5269 GB, free: 4.684 MB / 382.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.000388/0.4722, allocations: 241.2 kB / 0.5271 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4723, allocations: 69.44 kB / 0.5272 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.474, allocations: 0.7177 MB / 0.5279 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.474, allocations: 3.969 kB / 0.5279 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.474, allocations: 1.094 kB / 0.5279 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.474, allocations: 7.359 kB / 0.5279 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.4759, allocations: 1.21 MB / 0.5291 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4759, allocations: 1.094 kB / 0.5291 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.4761, allocations: 40.59 kB / 0.5291 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000839/0.477, allocations: 197.7 kB / 0.5293 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.477, allocations: 12.36 kB / 0.5293 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007347/0.4777, allocations: 1.304 MB / 0.5306 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4778, allocations: 0 / 0.5306 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4789, allocations: 0.8148 MB / 0.5314 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.4792, allocations: 181.8 kB / 0.5316 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4793, allocations: 9.844 kB / 0.5316 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.4797, allocations: 18.77 kB / 0.5316 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.4798, allocations: 22.89 kB / 0.5316 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.4798, allocations: 27.5 kB / 0.5317 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000528/0.4803, allocations: 453.1 kB / 0.5321 GB, free: 2.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4804, allocations: 0 / 0.5321 GB, free: 2.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001012/0.4814, allocations: 249.7 kB / 0.5323 GB, free: 2.551 MB / 382.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.001994/0.4834, allocations: 1.523 MB / 0.5338 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.4846, allocations: 0.5549 MB / 0.5344 GB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4846, allocations: 3.859 kB / 0.5344 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.485, allocations: 225 kB / 0.5346 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.4866, allocations: 353.3 kB / 0.5349 GB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.4944, allocations: 6.356 MB / 0.5411 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.4949, allocations: 0.9348 MB / 0.542 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008429/0.4958, allocations: 257 kB / 0.5423 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.4961, allocations: 230.7 kB / 0.5425 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4961, allocations: 0 / 0.5425 GB, free: 12.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05921/0.5553, allocations: 21.85 MB / 0.5638 GB, free: 9.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.72, allocations: 12.19 kB / 0.5638 GB, free: 9.492 MB / 414.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)