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.001279/0.001279, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001398/0.001398, allocations: 215.5 kB / 23.48 MB, free: 5.227 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.2 MB / 256.8 MB, free: 8.566 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.2683/0.2683, allocations: 46.89 MB / 360 MB, free: 4.805 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.00226/0.00226, allocations: 79.86 kB / 0.4951 GB, free: 8.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3415, allocations: 65.98 MB / 0.5595 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.07471/0.4162, allocations: 44.6 MB / 0.6031 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00936/0.4255, allocations: 4.425 MB / 0.6074 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008339/0.4264, allocations: 15.88 kB / 0.6074 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.4278, allocations: 330 kB / 0.6077 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.431, allocations: 0.8706 MB / 0.6086 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.4344, allocations: 0.8908 MB / 0.6095 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003164/0.4376, allocations: 1.809 MB / 0.6112 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.4385, allocations: 397.3 kB / 0.6116 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1159/0.5545, allocations: 44.68 MB / 0.6552 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02059/0.575, allocations: 8.017 MB / 0.6631 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003289/0.5754, allocations: 60 kB / 0.6631 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02869/0.6041, allocations: 10.71 MB / 0.6736 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006637/0.6047, allocations: 267.2 kB / 0.6738 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.6056, allocations: 398.2 kB / 0.6742 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.6082, allocations: 1.09 MB / 0.6753 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.672e-05/0.6082, allocations: 0 / 0.6753 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6082, allocations: 4 kB / 0.6753 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.275e-05/0.6082, allocations: 7.938 kB / 0.6753 GB, free: 13.54 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.002785/0.611, allocations: 1.063 MB / 0.6763 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.6111, allocations: 12.03 kB / 0.6763 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.6113, allocations: 98.69 kB / 0.6764 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004233/0.6117, allocations: 96.45 kB / 0.6765 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.6127, allocations: 0.5369 MB / 0.6771 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.6128, allocations: 101 kB / 0.6771 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.6129, allocations: 51.94 kB / 0.6772 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.6143, allocations: 0.8175 MB / 0.678 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.6144, allocations: 4 kB / 0.678 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.6144, allocations: 27.94 kB / 0.678 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.6145, allocations: 36.97 kB / 0.6781 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.6157, allocations: 0.6439 MB / 0.6787 GB, free: 9.871 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.0054/0.6211, allocations: 4.225 MB / 0.6828 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.6221, allocations: 392 kB / 0.6832 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.6224, allocations: 193.4 kB / 0.6834 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.6229, allocations: 0.5068 MB / 0.6839 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.623, allocations: 38.89 kB / 0.6839 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.863e-06/0.623, allocations: 0 / 0.6839 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003366/0.6264, allocations: 1.53 MB / 0.6854 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.6265, allocations: 136.5 kB / 0.6855 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.6272, allocations: 0.5693 MB / 0.6861 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.6273, allocations: 37.7 kB / 0.6861 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.6276, allocations: 363.9 kB / 0.6865 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.6277, allocations: 178.5 kB / 0.6866 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.628, allocations: 134.6 kB / 0.6868 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6282, allocations: 378.7 kB / 0.6871 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.6286, allocations: 225.9 kB / 0.6873 GB, free: 468 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.6293, allocations: 0.524 MB / 0.6879 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.6304, allocations: 0.7757 MB / 0.6886 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6304, allocations: 8 kB / 0.6886 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001927/0.6323, allocations: 0.9338 MB / 0.6895 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6324, allocations: 8 kB / 0.6895 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.6324, allocations: 8 kB / 0.6896 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.6335, allocations: 264.9 kB / 0.6898 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.6339, allocations: 127.9 kB / 0.6899 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.635, allocations: 0.8645 MB / 0.6908 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.6355, allocations: 31.97 kB / 0.6908 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.6355, allocations: 32 kB / 0.6908 GB, free: 12.59 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.0004199/0.636, allocations: 253.5 kB / 0.6911 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.6361, allocations: 71.52 kB / 0.6911 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.6375, allocations: 0.7112 MB / 0.6918 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.6376, allocations: 8 kB / 0.6918 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6376, allocations: 0 / 0.6918 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6376, allocations: 3.984 kB / 0.6918 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.6399, allocations: 1.392 MB / 0.6932 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.6399, allocations: 12.16 kB / 0.6932 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.6409, allocations: 187.8 kB / 0.6934 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.6411, allocations: 60.78 kB / 0.6935 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.6412, allocations: 8 kB / 0.6935 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/0.6438, allocations: 2.999 MB / 0.6964 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6438, allocations: 4.031 kB / 0.6964 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.6455, allocations: 0.9934 MB / 0.6974 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.6458, allocations: 204.6 kB / 0.6976 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.6459, allocations: 12 kB / 0.6976 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.6462, allocations: 19.98 kB / 0.6976 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6463, allocations: 43.89 kB / 0.6976 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.6464, allocations: 23.98 kB / 0.6977 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005682/0.647, allocations: 419 kB / 0.6981 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.647, allocations: 0 / 0.6981 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007974/0.6478, allocations: 207.9 kB / 0.6983 GB, free: 4.547 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.002249/0.65, allocations: 1.681 MB / 0.6999 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.6512, allocations: 0.5805 MB / 0.7005 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6512, allocations: 4 kB / 0.7005 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.6524, allocations: 479.4 kB / 0.7009 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.654, allocations: 365.1 kB / 0.7013 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009759/0.6638, allocations: 6.55 MB / 0.7077 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.6644, allocations: 0.9424 MB / 0.7086 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006919/0.6651, allocations: 209.1 kB / 0.7088 GB, free: 9.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.6654, allocations: 231.4 kB / 0.709 GB, free: 9.082 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/0.6654, allocations: 0 / 0.709 GB, free: 9.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05953/0.725, allocations: 22.39 MB / 0.7309 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.93, allocations: 3.5 kB / 0.7309 GB, free: 2.922 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: 17.06098154501524] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.033118770923465 14.27226069 13.661330072 Calling exit ...