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.001766/0.001766, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002288/0.002288, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2264/0.2264, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.00314/0.00314, allocations: 79.86 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.166, allocations: 66.03 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3356/0.5016, allocations: 44.31 MB / 0.5994 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.5072, allocations: 4.394 MB / 0.6037 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008539/0.5081, allocations: 29.25 kB / 0.6037 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.5091, allocations: 320.1 kB / 0.6041 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.5114, allocations: 0.8655 MB / 0.6049 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5139, allocations: 0.8951 MB / 0.6058 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002575/0.5165, allocations: 1.798 MB / 0.6075 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/0.5173, allocations: 405.8 kB / 0.6079 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1068/0.624, allocations: 44.69 MB / 0.6516 GB, free: 9.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01853/0.6426, allocations: 8.016 MB / 0.6594 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002775/0.6428, allocations: 60 kB / 0.6594 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02546/0.6683, allocations: 10.71 MB / 0.6699 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006778/0.669, allocations: 259 kB / 0.6701 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008578/0.6698, allocations: 392.5 kB / 0.6705 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.6718, allocations: 1.092 MB / 0.6716 GB, free: 5.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6718, allocations: 4 kB / 0.6716 GB, free: 5.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6718, allocations: 0 / 0.6716 GB, free: 5.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.6719, allocations: 0 / 0.6716 GB, free: 5.227 MB / 494.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.002776/0.6746, allocations: 1.061 MB / 0.6726 GB, free: 4.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.6747, allocations: 12.03 kB / 0.6726 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.6749, allocations: 98.22 kB / 0.6727 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.6752, allocations: 104.4 kB / 0.6728 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009954/0.6762, allocations: 0.5336 MB / 0.6734 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.6764, allocations: 100.5 kB / 0.6734 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.6765, allocations: 55.92 kB / 0.6735 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.6778, allocations: 0.813 MB / 0.6743 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.6778, allocations: 7.938 kB / 0.6743 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.6779, allocations: 16 kB / 0.6743 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/0.678, allocations: 40.97 kB / 0.6744 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.6791, allocations: 0.6439 MB / 0.675 GB, free: 1.602 MB / 494.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.005597/0.6847, allocations: 4.223 MB / 0.6791 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009412/0.6856, allocations: 405.8 kB / 0.6795 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.6859, allocations: 193.4 kB / 0.6797 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/0.6865, allocations: 0.4977 MB / 0.6802 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.6866, allocations: 38.89 kB / 0.6802 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.6866, allocations: 0 / 0.6802 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003462/0.69, allocations: 1.549 MB / 0.6817 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/0.6901, allocations: 136.5 kB / 0.6818 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.6908, allocations: 0.5694 MB / 0.6824 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.6909, allocations: 33.7 kB / 0.6824 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.6912, allocations: 362.6 kB / 0.6828 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.6913, allocations: 174 kB / 0.6829 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.6915, allocations: 142.6 kB / 0.6831 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6917, allocations: 374.7 kB / 0.6834 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.6921, allocations: 229.8 kB / 0.6837 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.6928, allocations: 0.5165 MB / 0.6842 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.6938, allocations: 0.7864 MB / 0.6849 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6938, allocations: 0 / 0.6849 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001883/0.6957, allocations: 0.9375 MB / 0.6858 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6958, allocations: 8 kB / 0.6859 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.6958, allocations: 12 kB / 0.6859 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.6969, allocations: 258.4 kB / 0.6861 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.6974, allocations: 127.8 kB / 0.6862 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.6985, allocations: 0.8684 MB / 0.6871 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.699, allocations: 28 kB / 0.6871 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.699, allocations: 35.98 kB / 0.6871 GB, free: 4.34 MB / 0.4981 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.0003549/0.6994, allocations: 237.6 kB / 0.6874 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.6995, allocations: 71.58 kB / 0.6874 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.7009, allocations: 0.7166 MB / 0.6881 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.7009, allocations: 4 kB / 0.6881 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.701, allocations: 3.938 kB / 0.6881 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.701, allocations: 7.984 kB / 0.6882 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.7034, allocations: 1.398 MB / 0.6895 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.7034, allocations: 4 kB / 0.6895 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7044, allocations: 187.8 kB / 0.6897 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.7047, allocations: 56.78 kB / 0.6898 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.7047, allocations: 16.09 kB / 0.6898 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.7074, allocations: 2.984 MB / 0.6927 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7074, allocations: 4.031 kB / 0.6927 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.7092, allocations: 0.9989 MB / 0.6937 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.7095, allocations: 208.5 kB / 0.6939 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.7096, allocations: 8 kB / 0.6939 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.71, allocations: 16 kB / 0.6939 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/0.7101, allocations: 39.95 kB / 0.6939 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.7101, allocations: 19.98 kB / 0.6939 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005793/0.7107, allocations: 427 kB / 0.6944 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7107, allocations: 0 / 0.6944 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008927/0.7116, allocations: 207.9 kB / 0.6946 GB, free: 12.34 MB / 0.5137 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.00242/0.714, allocations: 1.671 MB / 0.6962 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.7153, allocations: 0.585 MB / 0.6968 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7153, allocations: 0 / 0.6968 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.7166, allocations: 475.3 kB / 0.6972 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.7182, allocations: 373.2 kB / 0.6976 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.7285, allocations: 6.536 MB / 0.7039 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.7291, allocations: 0.9424 MB / 0.7049 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007063/0.7298, allocations: 210.5 kB / 0.7051 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.7302, allocations: 231.4 kB / 0.7053 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of SimCode: time 1.273e-06/0.7302, allocations: 0 / 0.7053 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05766/0.7879, allocations: 22.22 MB / 0.727 GB, free: 10.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.16, allocations: 15.53 kB / 0.727 GB, free: 10.96 MB / 0.545 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: 17.225015967153013] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.293358439113945 14.318192305 13.641294469 Calling exit ...