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.001332/0.001332, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001337, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2415/0.2415, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002248/0.002248, allocations: 85.52 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1218, allocations: 62.44 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03297/0.1549, allocations: 25.09 MB / 0.4935 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008245/0.1631, allocations: 4.367 MB / 0.4977 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.1643, allocations: 19.88 kB / 0.4977 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.1656, allocations: 298 kB / 0.498 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.1709, allocations: 1.583 MB / 0.4996 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.1754, allocations: 1.333 MB / 0.5009 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.1782, allocations: 1.856 MB / 0.5027 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.1792, allocations: 481.3 kB / 0.5031 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2497/0.4289, allocations: 3.024 MB / 0.5061 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.4318, allocations: 1.302 MB / 0.5074 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.4323, allocations: 60.88 kB / 0.5074 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.4357, allocations: 1.182 MB / 0.5086 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006179/0.4363, allocations: 265.6 kB / 0.5088 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.4375, allocations: 407.9 kB / 0.5092 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.4407, allocations: 1.366 MB / 0.5106 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4408, allocations: 1.062 kB / 0.5106 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4408, allocations: 1.25 kB / 0.5106 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.316e-05/0.4408, allocations: 0 / 0.5106 GB, free: 13.25 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.002993/0.4438, allocations: 1.121 MB / 0.5117 GB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4439, allocations: 9.062 kB / 0.5117 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.444, allocations: 105.2 kB / 0.5118 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.4451, allocations: 147 kB / 0.5119 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.446, allocations: 0.5064 MB / 0.5124 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.882e-05/0.4461, allocations: 109.3 kB / 0.5125 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.4462, allocations: 55.58 kB / 0.5126 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.4476, allocations: 0.8345 MB / 0.5134 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.4476, allocations: 2.188 kB / 0.5134 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.4477, allocations: 30.78 kB / 0.5134 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.4478, allocations: 37.58 kB / 0.5134 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.4491, allocations: 0.6009 MB / 0.514 GB, free: 12.02 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.005071/0.4542, allocations: 4.687 MB / 0.5186 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/0.4549, allocations: 333.8 kB / 0.5189 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.4553, allocations: 141.1 kB / 0.5191 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.4555, allocations: 419.5 kB / 0.5195 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.4556, allocations: 45.2 kB / 0.5195 GB, free: 8.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.176e-06/0.4556, allocations: 0 / 0.5195 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004535/0.4601, allocations: 1.541 MB / 0.521 GB, free: 7.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4602, allocations: 136.3 kB / 0.5211 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008709/0.4611, allocations: 0.6552 MB / 0.5218 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.4612, allocations: 33.08 kB / 0.5218 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.4614, allocations: 391.5 kB / 0.5222 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.4615, allocations: 134.6 kB / 0.5223 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.4617, allocations: 144.2 kB / 0.5224 GB, free: 6.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4618, allocations: 378.3 kB / 0.5228 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.4621, allocations: 202.9 kB / 0.523 GB, free: 6.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.4626, allocations: 0.5013 MB / 0.5235 GB, free: 6.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.4638, allocations: 0.7088 MB / 0.5242 GB, free: 5.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.4638, allocations: 3.281 kB / 0.5242 GB, free: 5.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001938/0.4657, allocations: 0.8889 MB / 0.525 GB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.4658, allocations: 9.125 kB / 0.5251 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4658, allocations: 10.06 kB / 0.5251 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.4672, allocations: 290.1 kB / 0.5253 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4676, allocations: 118.3 kB / 0.5255 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.4687, allocations: 1.4 MB / 0.5268 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.4693, allocations: 27.14 kB / 0.5268 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.4694, allocations: 51.3 kB / 0.5269 GB, free: 4.664 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.0004032/0.4698, allocations: 239.5 kB / 0.5271 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.4699, allocations: 69.31 kB / 0.5272 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.4715, allocations: 0.7159 MB / 0.5279 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4716, allocations: 4.594 kB / 0.5279 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4716, allocations: 4 kB / 0.5279 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4716, allocations: 4.016 kB / 0.5279 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.4735, allocations: 1.211 MB / 0.5291 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4735, allocations: 1.094 kB / 0.5291 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.4737, allocations: 42.75 kB / 0.5291 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008405/0.4746, allocations: 200.7 kB / 0.5293 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.4746, allocations: 15.78 kB / 0.5293 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007806/0.4754, allocations: 1.299 MB / 0.5306 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4754, allocations: 2.625 kB / 0.5306 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.4766, allocations: 0.8122 MB / 0.5314 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.4769, allocations: 184.1 kB / 0.5316 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.477, allocations: 10.72 kB / 0.5316 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.4774, allocations: 14.14 kB / 0.5316 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.4774, allocations: 23.53 kB / 0.5316 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.4775, allocations: 20.45 kB / 0.5316 GB, free: 2.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005546/0.4781, allocations: 459.4 kB / 0.5321 GB, free: 2.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4781, allocations: 3.469 kB / 0.5321 GB, free: 2.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001372/0.4794, allocations: 249.8 kB / 0.5323 GB, free: 2.535 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.002479/0.4819, allocations: 1.535 MB / 0.5338 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.4834, allocations: 0.5508 MB / 0.5344 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.4834, allocations: 3.859 kB / 0.5344 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.4839, allocations: 226 kB / 0.5346 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.4856, allocations: 346.8 kB / 0.5349 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008808/0.4944, allocations: 6.361 MB / 0.5411 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.4951, allocations: 0.9299 MB / 0.542 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000877/0.4959, allocations: 252.6 kB / 0.5423 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.4963, allocations: 222.5 kB / 0.5425 GB, free: 12.58 MB / 398.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4963, allocations: 3.812 kB / 0.5425 GB, free: 12.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05949/0.5558, allocations: 21.85 MB / 0.5638 GB, free: 9.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.64, allocations: 27.55 kB / 0.5638 GB, free: 9.508 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)