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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001698, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2201/0.2201, allocations: 46.91 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002271/0.002271, allocations: 75.81 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3218, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05308/0.3748, allocations: 44.62 MB / 0.6051 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.3818, allocations: 4.413 MB / 0.6094 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.3826, allocations: 27.75 kB / 0.6094 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009577/0.3835, allocations: 322 kB / 0.6097 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.3855, allocations: 0.8862 MB / 0.6106 GB, free: 1.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.3879, allocations: 0.9143 MB / 0.6115 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.3903, allocations: 1.821 MB / 0.6133 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.3909, allocations: 393.6 kB / 0.6137 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09251/0.4834, allocations: 44.26 MB / 0.6569 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01657/0.5, allocations: 7.938 MB / 0.6646 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.5002, allocations: 60 kB / 0.6647 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02257/0.5228, allocations: 10.6 MB / 0.675 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005139/0.5233, allocations: 267.2 kB / 0.6753 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.5238, allocations: 394.2 kB / 0.6757 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.5254, allocations: 1.09 MB / 0.6767 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5254, allocations: 0 / 0.6767 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5254, allocations: 0 / 0.6767 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.5255, allocations: 3.938 kB / 0.6767 GB, free: 13.52 MB / 0.5137 GB 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.00218/0.5276, allocations: 1.003 MB / 0.6777 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5277, allocations: 8.031 kB / 0.6777 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.5278, allocations: 94.7 kB / 0.6778 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.5281, allocations: 92.45 kB / 0.6779 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.529, allocations: 478.7 kB / 0.6784 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.5291, allocations: 156.4 kB / 0.6785 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.5292, allocations: 51.92 kB / 0.6786 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5305, allocations: 0.8175 MB / 0.6794 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.5305, allocations: 3.938 kB / 0.6794 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.5306, allocations: 24 kB / 0.6794 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-05/0.5306, allocations: 36.98 kB / 0.6794 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5318, allocations: 0.6478 MB / 0.6801 GB, free: 9.961 MB / 0.5137 GB 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.004917/0.5367, allocations: 4.17 MB / 0.6841 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.5376, allocations: 399.9 kB / 0.6845 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.5379, allocations: 193.4 kB / 0.6847 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.5382, allocations: 48.28 kB / 0.6847 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5382, allocations: 38.89 kB / 0.6848 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.5382, allocations: 0 / 0.6848 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003178/0.5414, allocations: 1.467 MB / 0.6862 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.5415, allocations: 140.5 kB / 0.6863 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.5422, allocations: 0.5655 MB / 0.6869 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.5422, allocations: 33.7 kB / 0.6869 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.5425, allocations: 363.9 kB / 0.6873 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.5426, allocations: 174.5 kB / 0.6874 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.5428, allocations: 138.6 kB / 0.6876 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.543, allocations: 374.7 kB / 0.6879 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.5434, allocations: 229.8 kB / 0.6882 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.5441, allocations: 0.5289 MB / 0.6887 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.5452, allocations: 0.7755 MB / 0.6894 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5452, allocations: 4 kB / 0.6894 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00183/0.547, allocations: 0.937 MB / 0.6903 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.547, allocations: 8.969 kB / 0.6904 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.547, allocations: 8 kB / 0.6904 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.5481, allocations: 271.6 kB / 0.6906 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.5485, allocations: 119.8 kB / 0.6907 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.5495, allocations: 0.8684 MB / 0.6916 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.55, allocations: 20 kB / 0.6916 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.55, allocations: 44.05 kB / 0.6916 GB, free: 13.38 MB / 0.5294 GB 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.0003378/0.5504, allocations: 250.1 kB / 0.6919 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.5505, allocations: 67.58 kB / 0.6919 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.5519, allocations: 0.7153 MB / 0.6926 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5519, allocations: 4 kB / 0.6926 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5519, allocations: 4 kB / 0.6927 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5519, allocations: 3.984 kB / 0.6927 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.5541, allocations: 1.379 MB / 0.694 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.5541, allocations: 7.984 kB / 0.694 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009866/0.5551, allocations: 187.8 kB / 0.6942 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.5553, allocations: 57.02 kB / 0.6942 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.5554, allocations: 15.98 kB / 0.6943 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.5578, allocations: 2.781 MB / 0.697 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5579, allocations: 0 / 0.697 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.5595, allocations: 1.009 MB / 0.698 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.5597, allocations: 127.5 kB / 0.6981 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.5598, allocations: 15.98 kB / 0.6981 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.5602, allocations: 12 kB / 0.6981 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.5603, allocations: 43.81 kB / 0.6981 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.5603, allocations: 23.98 kB / 0.6982 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000538/0.5609, allocations: 419 kB / 0.6986 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5609, allocations: 0 / 0.6986 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007618/0.5616, allocations: 215.9 kB / 0.6988 GB, free: 5.711 MB / 0.5294 GB 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.002232/0.5639, allocations: 1.65 MB / 0.7004 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.5651, allocations: 0.5815 MB / 0.701 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5651, allocations: 0 / 0.701 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.5663, allocations: 478.5 kB / 0.7014 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.5679, allocations: 372.5 kB / 0.7018 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009939/0.5778, allocations: 6.557 MB / 0.7082 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.5784, allocations: 0.9462 MB / 0.7091 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006924/0.5791, allocations: 205.5 kB / 0.7093 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.5795, allocations: 227.4 kB / 0.7095 GB, free: 10.26 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.5795, allocations: 4 kB / 0.7095 GB, free: 10.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0616/0.6411, allocations: 22.76 MB / 0.7317 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.84, allocations: 4 kB / 0.7317 GB, free: 3.711 MB / 0.5606 GB " [Timeout remaining time 646] (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 --stepSize=0.000201919 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.926801323890686] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.952706042677164 14.220653716 13.69264833 Calling exit ...