Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001582/0.001582, allocations: 118.2 kB / 18.46 MB, free: 4.59 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.001878/0.001878, allocations: 219.3 kB / 21.41 MB, free: 1.637 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.502/1.502, allocations: 227.4 MB / 251.7 MB, free: 52 kB / 190.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.2709/0.2709, allocations: 46.14 MB / 351.1 MB, free: 14.3 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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.00225/0.00225, allocations: 77.25 kB / 489.7 MB, free: 28.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 62.45 MB / 0.5392 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0337/0.1646, allocations: 26.92 MB / 0.5655 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.1684, allocations: 2.959 MB / 0.5684 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.1685, allocations: 4 kB / 0.5684 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1688, allocations: 51.61 kB / 0.5684 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.1706, allocations: 0.7227 MB / 0.5691 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.171, allocations: 145.9 kB / 0.5693 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.1715, allocations: 374.1 kB / 0.5696 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.1715, allocations: 9.688 kB / 0.5696 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03718/0.2087, allocations: 15.49 MB / 0.5848 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.2091, allocations: 151.4 kB / 0.5849 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.2092, allocations: 8 kB / 0.5849 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008611/0.2178, allocations: 3.451 MB / 0.5883 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2179, allocations: 39.88 kB / 0.5883 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.2181, allocations: 107.5 kB / 0.5884 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009585/0.2191, allocations: 474.5 kB / 0.5889 GB, free: 1.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2191, allocations: 0 / 0.5889 GB, free: 1.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2191, allocations: 4 kB / 0.5889 GB, free: 1.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2191, allocations: 0 / 0.5889 GB, free: 1.578 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001215/0.2203, allocations: 0.6039 MB / 0.5895 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2204, allocations: 12.03 kB / 0.5895 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.263e-05/0.2205, allocations: 62.73 kB / 0.5895 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.2206, allocations: 28.8 kB / 0.5896 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.221, allocations: 224.1 kB / 0.5898 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.2211, allocations: 127.9 kB / 0.5899 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.2212, allocations: 27.94 kB / 0.5899 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.2217, allocations: 319.7 kB / 0.5902 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2217, allocations: 3.938 kB / 0.5902 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.2218, allocations: 12 kB / 0.5903 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.2218, allocations: 8 kB / 0.5903 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.2227, allocations: 0.739 MB / 0.591 GB, free: 15.28 MB / 462.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.001601/0.2243, allocations: 1.3 MB / 0.5923 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.2247, allocations: 171.6 kB / 0.5924 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2249, allocations: 89.47 kB / 0.5925 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003031/0.2279, allocations: 2.806 MB / 0.5952 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.228, allocations: 34.56 kB / 0.5953 GB, free: 10.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.228, allocations: 4 kB / 0.5953 GB, free: 10.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003201/0.2283, allocations: 117.4 kB / 0.5954 GB, free: 10.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.2283, allocations: 55.41 kB / 0.5954 GB, free: 10.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.2286, allocations: 227.5 kB / 0.5957 GB, free: 9.789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2286, allocations: 29.64 kB / 0.5957 GB, free: 9.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.2288, allocations: 223.4 kB / 0.5959 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2288, allocations: 47.61 kB / 0.5959 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2289, allocations: 90.03 kB / 0.596 GB, free: 9.391 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2291, allocations: 334.8 kB / 0.5964 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.2292, allocations: 44.84 kB / 0.5964 GB, free: 9.012 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.2295, allocations: 343.2 kB / 0.5967 GB, free: 8.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.23, allocations: 448.5 kB / 0.5971 GB, free: 7.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.23, allocations: 0 / 0.5971 GB, free: 7.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005707/0.2306, allocations: 381.1 kB / 0.5975 GB, free: 7.562 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2307, allocations: 8 kB / 0.5975 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.2307, allocations: 19.92 kB / 0.5975 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.2307, allocations: 12.81 kB / 0.5976 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.231, allocations: 95.84 kB / 0.5976 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.231, allocations: 27.91 kB / 0.5977 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.2312, allocations: 55.62 kB / 0.5977 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.2313, allocations: 28 kB / 0.5977 GB, free: 7.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.2314, allocations: 157.5 kB / 0.5979 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.2315, allocations: 19.86 kB / 0.5979 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.2318, allocations: 144.9 kB / 0.5981 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2318, allocations: 4 kB / 0.5981 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2318, allocations: 0 / 0.5981 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2318, allocations: 0 / 0.5981 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.2323, allocations: 416.9 kB / 0.5985 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2323, allocations: 4 kB / 0.5985 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.2324, allocations: 11.94 kB / 0.5985 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2324, allocations: 4 kB / 0.5985 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2324, allocations: 0 / 0.5985 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.2324, allocations: 4.094 kB / 0.5985 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2324, allocations: 3.938 kB / 0.5985 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.2326, allocations: 210 kB / 0.5987 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.2327, allocations: 101 kB / 0.5988 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.2328, allocations: 8 kB / 0.5988 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2329, allocations: 0 / 0.5988 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.2329, allocations: 7.984 kB / 0.5988 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.233, allocations: 8.062 kB / 0.5988 GB, free: 6.109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2331, allocations: 164.4 kB / 0.599 GB, free: 5.953 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2331, allocations: 0 / 0.599 GB, free: 5.953 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004974/0.2336, allocations: 99.83 kB / 0.5991 GB, free: 5.855 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007232/0.2343, allocations: 0.8005 MB / 0.5998 GB, free: 5.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.2346, allocations: 166.4 kB / 0.6 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2347, allocations: 0 / 0.6 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.2347, allocations: 27.92 kB / 0.6 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.2351, allocations: 43.03 kB / 0.6001 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.2385, allocations: 2.809 MB / 0.6028 GB, free: 1.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.2389, allocations: 0.7245 MB / 0.6035 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.2391, allocations: 54.91 kB / 0.6036 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.003e-05/0.2392, allocations: 63.41 kB / 0.6036 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2392, allocations: 3.938 kB / 0.6036 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2844/0.5236, allocations: 5.231 MB / 0.6087 GB, free: 65.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.312, allocations: 7.234 kB / 0.6087 GB, free: 65.58 MB / 462.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.52317205502186] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.393605723977089 8.417230801 8.194094112 Calling exit ...