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.LinearWater_pT.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.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001356, 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.001345/0.001344, 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.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2212/0.2212, allocations: 46.12 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.002293/0.002293, allocations: 76.64 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1277, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2633/0.3911, allocations: 44.09 MB / 0.512 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005827/0.397, allocations: 4.378 MB / 0.5163 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.3978, allocations: 20.69 kB / 0.5163 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.3988, allocations: 314.3 kB / 0.5166 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.4011, allocations: 0.8501 MB / 0.5174 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.4039, allocations: 0.8986 MB / 0.5183 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.4062, allocations: 1.795 MB / 0.5201 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008929/0.4071, allocations: 464.9 kB / 0.5205 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.11/0.5172, allocations: 44.58 MB / 0.564 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02125/0.5384, allocations: 7.958 MB / 0.5718 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.5388, allocations: 60 kB / 0.5719 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02922/0.568, allocations: 10.68 MB / 0.5823 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.5686, allocations: 258.2 kB / 0.5826 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007896/0.5694, allocations: 396.8 kB / 0.5829 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.5712, allocations: 1.072 MB / 0.584 GB, free: 7.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5712, allocations: 0 / 0.584 GB, free: 7.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5712, allocations: 7.938 kB / 0.584 GB, free: 7.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.5712, allocations: 0 / 0.584 GB, free: 7.914 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00238/0.5736, allocations: 1.052 MB / 0.585 GB, free: 6.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5737, allocations: 12.03 kB / 0.585 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.5738, allocations: 101.8 kB / 0.5851 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.5742, allocations: 84.09 kB / 0.5852 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.575, allocations: 0.5016 MB / 0.5857 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.5752, allocations: 107.9 kB / 0.5858 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.877e-05/0.5753, allocations: 51.94 kB / 0.5858 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.5766, allocations: 0.8185 MB / 0.5866 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.5766, allocations: 3.938 kB / 0.5866 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.5767, allocations: 30.89 kB / 0.5867 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.5768, allocations: 40.97 kB / 0.5867 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.5781, allocations: 0.64 MB / 0.5873 GB, free: 4.328 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.005363/0.5835, allocations: 4.237 MB / 0.5915 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.5845, allocations: 411.9 kB / 0.5919 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.5849, allocations: 209.4 kB / 0.5921 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/0.5855, allocations: 0.5016 MB / 0.5926 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.5855, allocations: 43.2 kB / 0.5926 GB, free: 14.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.464e-06/0.5855, allocations: 4 kB / 0.5926 GB, free: 14.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003735/0.5893, allocations: 1.516 MB / 0.5941 GB, free: 12.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.5894, allocations: 140.5 kB / 0.5942 GB, free: 12.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.5903, allocations: 0.5654 MB / 0.5948 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.5904, allocations: 37.69 kB / 0.5948 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.5908, allocations: 353.9 kB / 0.5951 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5909, allocations: 165.1 kB / 0.5953 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.5912, allocations: 142.5 kB / 0.5954 GB, free: 11.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.5914, allocations: 382.6 kB / 0.5958 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.5919, allocations: 217.9 kB / 0.596 GB, free: 10.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.5926, allocations: 0.524 MB / 0.5965 GB, free: 10.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.5939, allocations: 0.7724 MB / 0.5973 GB, free: 9.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.5939, allocations: 8 kB / 0.5973 GB, free: 9.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002081/0.596, allocations: 0.9374 MB / 0.5982 GB, free: 8.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.596, allocations: 8 kB / 0.5982 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.596, allocations: 11.94 kB / 0.5982 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.5972, allocations: 270.1 kB / 0.5985 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.5977, allocations: 123.8 kB / 0.5986 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.5988, allocations: 0.8732 MB / 0.5994 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.5993, allocations: 25.25 kB / 0.5995 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.5994, allocations: 36 kB / 0.5995 GB, free: 7.062 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 (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.0003758/0.5998, allocations: 257.5 kB / 0.5998 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.5999, allocations: 63.25 kB / 0.5998 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.6014, allocations: 0.7161 MB / 0.6005 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.6014, allocations: 4 kB / 0.6005 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6014, allocations: 0 / 0.6005 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6015, allocations: 0 / 0.6005 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.6038, allocations: 1.415 MB / 0.6019 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6039, allocations: 0 / 0.6019 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6049, allocations: 196 kB / 0.6021 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002445/0.6052, allocations: 48.8 kB / 0.6021 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.6052, allocations: 20.86 kB / 0.6022 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.608, allocations: 2.983 MB / 0.6051 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.608, allocations: 4.031 kB / 0.6051 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.6097, allocations: 0.9957 MB / 0.606 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.6101, allocations: 204.2 kB / 0.6062 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.6102, allocations: 8 kB / 0.6062 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.6107, allocations: 16 kB / 0.6063 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.6108, allocations: 43.89 kB / 0.6063 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.6108, allocations: 19.98 kB / 0.6063 GB, free: 15.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.6114, allocations: 427 kB / 0.6067 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6114, allocations: 3.938 kB / 0.6067 GB, free: 15.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008045/0.6122, allocations: 208 kB / 0.6069 GB, free: 15.03 MB / 462.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.002442/0.6147, allocations: 1.664 MB / 0.6086 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.6162, allocations: 0.6702 MB / 0.6092 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6162, allocations: 0 / 0.6092 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.6175, allocations: 487.8 kB / 0.6097 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.6193, allocations: 375.4 kB / 0.61 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.6299, allocations: 6.763 MB / 0.6166 GB, free: 4.688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.6306, allocations: 0.9462 MB / 0.6176 GB, free: 3.711 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008293/0.6314, allocations: 214.9 kB / 0.6178 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.6318, allocations: 231.4 kB / 0.618 GB, free: 3.285 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6318, allocations: 0 / 0.618 GB, free: 3.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05981/0.6916, allocations: 21.92 MB / 0.6394 GB, free: 13.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.09, allocations: 4.5 kB / 0.6394 GB, free: 13.68 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)