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.001283/0.001283, allocations: 106.5 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.001425/0.001425, allocations: 212.6 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.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2202/0.2202, allocations: 46.94 MB / 361.6 MB, free: 4.227 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.002852/0.002852, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.329, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05423/0.3832, allocations: 44.62 MB / 0.6051 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006692/0.3899, allocations: 4.417 MB / 0.6094 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.3906, allocations: 27.75 kB / 0.6094 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.3916, allocations: 330 kB / 0.6098 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.3936, allocations: 0.8745 MB / 0.6106 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.3961, allocations: 0.9113 MB / 0.6115 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.3986, allocations: 1.816 MB / 0.6133 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.3993, allocations: 397.6 kB / 0.6137 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09765/0.497, allocations: 44.27 MB / 0.6569 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01718/0.5141, allocations: 7.935 MB / 0.6646 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.5144, allocations: 60 kB / 0.6647 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/0.5374, allocations: 10.61 MB / 0.6751 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005644/0.538, allocations: 263.2 kB / 0.6753 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.5386, allocations: 390.2 kB / 0.6757 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.5402, allocations: 1.086 MB / 0.6767 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5402, allocations: 4 kB / 0.6767 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5402, allocations: 0 / 0.6767 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.5402, allocations: 11.94 kB / 0.6768 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.002165/0.5424, allocations: 0.9873 MB / 0.6777 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5424, allocations: 12.03 kB / 0.6777 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.5425, allocations: 102.7 kB / 0.6778 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.5429, allocations: 92.41 kB / 0.6779 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.5437, allocations: 482.7 kB / 0.6784 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.5439, allocations: 156.3 kB / 0.6785 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.733e-05/0.544, allocations: 51.94 kB / 0.6786 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5453, allocations: 0.8097 MB / 0.6794 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.5453, allocations: 15.94 kB / 0.6794 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.5454, allocations: 19.98 kB / 0.6794 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-05/0.5454, allocations: 40.98 kB / 0.6794 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.5465, allocations: 0.6439 MB / 0.6801 GB, free: 9.953 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.005012/0.5516, allocations: 4.162 MB / 0.6841 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.5525, allocations: 403.9 kB / 0.6845 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.5528, allocations: 193.4 kB / 0.6847 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.5531, allocations: 52.27 kB / 0.6848 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5531, allocations: 42.89 kB / 0.6848 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.5531, allocations: 0 / 0.6848 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.00321/0.5563, allocations: 1.464 MB / 0.6862 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.5564, allocations: 132.5 kB / 0.6863 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.5571, allocations: 0.5694 MB / 0.6869 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.5571, allocations: 33.7 kB / 0.6869 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.5574, allocations: 363.9 kB / 0.6873 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5575, allocations: 170.5 kB / 0.6874 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.5578, allocations: 146.6 kB / 0.6876 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.5579, allocations: 378.7 kB / 0.6879 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.5584, allocations: 229.8 kB / 0.6882 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.559, allocations: 0.5209 MB / 0.6887 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5601, allocations: 0.7757 MB / 0.6894 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5601, allocations: 0 / 0.6894 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001854/0.562, allocations: 0.9418 MB / 0.6904 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.562, allocations: 8 kB / 0.6904 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.562, allocations: 12 kB / 0.6904 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.5631, allocations: 256.7 kB / 0.6906 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.5636, allocations: 127.8 kB / 0.6907 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.5646, allocations: 0.8645 MB / 0.6916 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.5651, allocations: 28 kB / 0.6916 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.5652, allocations: 35.98 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.000367/0.5655, allocations: 250.1 kB / 0.6919 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5656, allocations: 67.58 kB / 0.6919 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.5671, allocations: 0.7148 MB / 0.6926 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.5671, allocations: 8 kB / 0.6927 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5671, allocations: 0 / 0.6927 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5671, allocations: 3.984 kB / 0.6927 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.5694, allocations: 1.375 MB / 0.694 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5694, allocations: 0 / 0.694 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5704, allocations: 196 kB / 0.6942 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.5706, allocations: 56.78 kB / 0.6942 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.5707, allocations: 23.98 kB / 0.6943 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.5733, allocations: 2.769 MB / 0.697 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5733, allocations: 4.062 kB / 0.697 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.5749, allocations: 1.009 MB / 0.698 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.5753, allocations: 131.4 kB / 0.6981 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.5754, allocations: 16 kB / 0.6981 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.5757, allocations: 15.98 kB / 0.6981 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5758, allocations: 39.88 kB / 0.6981 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.5759, allocations: 24.05 kB / 0.6982 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005677/0.5764, allocations: 419 kB / 0.6986 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5764, allocations: 0 / 0.6986 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008489/0.5773, allocations: 211.8 kB / 0.6988 GB, free: 5.715 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.002214/0.5795, allocations: 1.665 MB / 0.7004 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.5807, allocations: 0.5815 MB / 0.701 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5807, allocations: 4 kB / 0.701 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.5819, allocations: 466 kB / 0.7014 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.5835, allocations: 377.1 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.009881/0.5933, 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.0005992/0.5939, allocations: 0.9384 MB / 0.7091 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007054/0.5946, allocations: 210.2 kB / 0.7093 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.595, allocations: 231.4 kB / 0.7095 GB, free: 10.26 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.595, allocations: 0 / 0.7095 GB, free: 10.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05951/0.6545, allocations: 22.75 MB / 0.7317 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.69, allocations: 6.406 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.753962739836425] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.80315181100741 14.028458625 13.485748914 Calling exit ...