Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 104.5 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.002115/0.002115, 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.524/1.524, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2303/0.2303, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002465/0.002465, allocations: 72.94 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1242, allocations: 62.44 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02495/0.1492, allocations: 20.34 MB / 0.4888 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007027/0.1562, allocations: 4.293 MB / 0.493 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.1573, allocations: 19.88 kB / 0.493 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.1586, allocations: 314 kB / 0.4933 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.1612, allocations: 0.8588 MB / 0.4942 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.1638, allocations: 0.9052 MB / 0.4951 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.1663, allocations: 1.782 MB / 0.4968 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.1673, allocations: 473.3 kB / 0.4973 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.1696, allocations: 0.9184 MB / 0.4981 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.171, allocations: 0.6461 MB / 0.4988 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.1713, allocations: 60 kB / 0.4988 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1724, allocations: 299.6 kB / 0.4991 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.1728, allocations: 263.3 kB / 0.4994 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.1735, allocations: 390.2 kB / 0.4997 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.1752, allocations: 1.071 MB / 0.5008 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1752, allocations: 0 / 0.5008 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1752, allocations: 0 / 0.5008 GB, free: 4.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.324e-05/0.1752, allocations: 4 kB / 0.5008 GB, free: 4.406 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002608/0.1778, allocations: 1.058 MB / 0.5018 GB, free: 3.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1779, allocations: 8.031 kB / 0.5018 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.1781, allocations: 102.7 kB / 0.5019 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.1784, allocations: 88.08 kB / 0.502 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008339/0.1793, allocations: 0.5014 MB / 0.5025 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.1794, allocations: 109 kB / 0.5026 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1795, allocations: 56.11 kB / 0.5027 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.181, allocations: 0.8174 MB / 0.5035 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.181, allocations: 3.984 kB / 0.5035 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.1811, allocations: 27.98 kB / 0.5035 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.1812, allocations: 36.98 kB / 0.5035 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1824, allocations: 0.6478 MB / 0.5042 GB, free: 0.7734 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.1901/0.3725, allocations: 4.217 MB / 0.5083 GB, free: 40.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.3735, allocations: 412.9 kB / 0.5087 GB, free: 40.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3738, allocations: 213.4 kB / 0.5089 GB, free: 40.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.3742, allocations: 0.5008 MB / 0.5094 GB, free: 40.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3743, allocations: 43.91 kB / 0.5094 GB, free: 40.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/0.3743, allocations: 1.375 kB / 0.5094 GB, free: 40.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003067/0.3773, allocations: 1.523 MB / 0.5109 GB, free: 39.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3774, allocations: 141.8 kB / 0.511 GB, free: 39.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.3781, allocations: 0.5708 MB / 0.5116 GB, free: 39.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.3782, allocations: 36.73 kB / 0.5116 GB, free: 38.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3784, allocations: 356.5 kB / 0.512 GB, free: 38.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3785, allocations: 161.2 kB / 0.5121 GB, free: 38.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.3788, allocations: 146.3 kB / 0.5123 GB, free: 38.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3789, allocations: 373.9 kB / 0.5126 GB, free: 38.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.3794, allocations: 224.4 kB / 0.5128 GB, free: 38.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/0.38, allocations: 0.5162 MB / 0.5133 GB, free: 37.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3811, allocations: 0.7814 MB / 0.5141 GB, free: 37.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.3812, allocations: 2.656 kB / 0.5141 GB, free: 37.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002038/0.3832, allocations: 0.9357 MB / 0.515 GB, free: 36.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3832, allocations: 10.12 kB / 0.515 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3833, allocations: 9.125 kB / 0.515 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.3844, allocations: 269 kB / 0.5153 GB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.3848, allocations: 121.7 kB / 0.5154 GB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008935/0.3858, allocations: 0.8816 MB / 0.5163 GB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.3865, allocations: 28.09 kB / 0.5163 GB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.3865, allocations: 31.41 kB / 0.5163 GB, free: 35.93 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004823/0.387, allocations: 245.3 kB / 0.5166 GB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.3873, allocations: 71.06 kB / 0.5166 GB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3888, allocations: 0.7121 MB / 0.5173 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.3888, allocations: 10.48 kB / 0.5173 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.3889, allocations: 1.375 kB / 0.5173 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3889, allocations: 2.531 kB / 0.5173 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.3913, allocations: 1.403 MB / 0.5187 GB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3913, allocations: 1.938 kB / 0.5187 GB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.3923, allocations: 195.6 kB / 0.5189 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.3926, allocations: 57.86 kB / 0.5189 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.3926, allocations: 15.48 kB / 0.519 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.3949, allocations: 2.989 MB / 0.5219 GB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3949, allocations: 2.906 kB / 0.5219 GB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.3972, allocations: 0.9941 MB / 0.5229 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.3977, allocations: 203.1 kB / 0.523 GB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.398, allocations: 17.42 kB / 0.5231 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.3985, allocations: 17.22 kB / 0.5231 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.3987, allocations: 41.48 kB / 0.5231 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/0.3987, allocations: 20.31 kB / 0.5231 GB, free: 30.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006558/0.3994, allocations: 420.5 kB / 0.5235 GB, free: 30.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3994, allocations: 0 / 0.5235 GB, free: 30.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009971/0.4004, allocations: 205.2 kB / 0.5237 GB, free: 30.68 MB / 382.1 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/0.4029, allocations: 1.663 MB / 0.5254 GB, free: 29.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.4044, allocations: 0.6767 MB / 0.526 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4044, allocations: 1.656 kB / 0.526 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.4056, allocations: 482.7 kB / 0.5265 GB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.4075, allocations: 380 kB / 0.5268 GB, free: 29.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009495/0.417, allocations: 6.759 MB / 0.5334 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4175, allocations: 0.9379 MB / 0.5344 GB, free: 24.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008778/0.4184, allocations: 205.8 kB / 0.5346 GB, free: 23.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.4187, allocations: 239.4 kB / 0.5348 GB, free: 23.8 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4187, allocations: 0 / 0.5348 GB, free: 23.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05279/0.4715, allocations: 21.94 MB / 0.5562 GB, free: 3.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13, allocations: 448 / 0.5562 GB, free: 3.902 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)