Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.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.001658/0.001658, allocations: 121.4 kB / 18.46 MB, free: 4.566 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.002185/0.002185, allocations: 214.5 kB / 21.41 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 227.7 MB / 251.9 MB, free: 15.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001909/0.001909, allocations: 67.83 kB / 365.2 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09969, allocations: 50.55 MB / 415.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006849/0.1066, allocations: 4.911 MB / 420.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.1075, allocations: 0.6231 MB / 421.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.1075, allocations: 4 kB / 421.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1078, allocations: 31.77 kB / 421.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.1091, allocations: 0.58 MB / 421.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1094, allocations: 95.05 kB / 422 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.1096, allocations: 179.3 kB / 422.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.1097, allocations: 11.98 kB / 422.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.1107, allocations: 0.6119 MB / 422.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.1108, allocations: 43.78 kB / 422.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1109, allocations: 8 kB / 422.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.1123, allocations: 0.8853 MB / 423.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.1124, allocations: 27.84 kB / 423.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.1124, allocations: 39.86 kB / 423.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.1129, allocations: 243.3 kB / 424 MB, free: 5.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1129, allocations: 4 kB / 424 MB, free: 5.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1129, allocations: 0 / 424 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1129, allocations: 0 / 424 MB, free: 5.324 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005346/0.1134, allocations: 438.7 kB / 424.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1135, allocations: 8.031 kB / 424.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.1135, allocations: 42.73 kB / 424.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.1139, allocations: 44.8 kB / 424.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1142, allocations: 188.3 kB / 424.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1142, allocations: 8.125 kB / 424.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1142, allocations: 12 kB / 424.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.1145, allocations: 144.9 kB / 424.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1145, allocations: 0 / 424.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1145, allocations: 0 / 424.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1146, allocations: 4 kB / 424.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1147, allocations: 107.9 kB / 425 MB, free: 4.234 MB / 350.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.000744/0.1155, allocations: 0.6607 MB / 425.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1157, allocations: 90.48 kB / 425.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1157, allocations: 36.84 kB / 425.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.1164, allocations: 0.8076 MB / 426.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1165, allocations: 38.5 kB / 426.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1165, allocations: 0 / 426.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002958/0.1168, allocations: 129.8 kB / 426.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1168, allocations: 55.34 kB / 426.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1169, allocations: 117.8 kB / 426.9 MB, free: 2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1169, allocations: 25.7 kB / 427 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.117, allocations: 107.9 kB / 427.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.1171, allocations: 51.62 kB / 427.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.1171, allocations: 37.66 kB / 427.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1173, allocations: 318.8 kB / 427.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.1173, allocations: 32.05 kB / 427.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.1174, allocations: 61.14 kB / 427.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1176, allocations: 105.1 kB / 427.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1176, allocations: 7.938 kB / 427.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002203/0.1178, allocations: 140.7 kB / 427.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1178, allocations: 4 kB / 427.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1178, allocations: 7.938 kB / 427.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1179, allocations: 3.938 kB / 427.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.118, allocations: 31.98 kB / 427.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.118, allocations: 0 / 427.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1181, allocations: 15.89 kB / 427.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1181, allocations: 8 kB / 427.9 MB, free: 0.9961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * 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.0001021/0.1182, allocations: 121.9 kB / 428 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.1182, allocations: 15.94 kB / 428 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.1185, allocations: 146.3 kB / 428.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1186, allocations: 4 kB / 428.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1186, allocations: 0 / 428.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1186, allocations: 7.922 kB / 428.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.119, allocations: 386.5 kB / 428.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1191, allocations: 0 / 428.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.1191, allocations: 27.92 kB / 428.6 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1192, allocations: 0 / 428.6 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1192, allocations: 4 kB / 428.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1192, allocations: 3.984 kB / 428.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1192, allocations: 0 / 428.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1194, allocations: 203.4 kB / 428.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.1195, allocations: 96.98 kB / 428.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1195, allocations: 0 / 428.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.1196, allocations: 15.94 kB / 428.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1196, allocations: 7.984 kB / 428.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1197, allocations: 4 kB / 428.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.1197, allocations: 91.27 kB / 429 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1197, allocations: 0 / 429 MB, free: 15.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1201, allocations: 63.86 kB / 429 MB, free: 15.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0006745/0.1208, allocations: 0.8091 MB / 429.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.121, allocations: 84.09 kB / 429.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.121, allocations: 4.062 kB / 429.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.121, allocations: 39.98 kB / 430 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1215, allocations: 35.94 kB / 430 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1231, allocations: 1.569 MB / 431.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1234, allocations: 0.7044 MB / 432.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1235, allocations: 32.92 kB / 432.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.1236, allocations: 27.42 kB / 432.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1236, allocations: 0 / 432.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.1511, allocations: 3.849 MB / 436.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.107, allocations: 10.44 kB / 436.2 MB, free: 8.516 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.755331750027835] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'eta', 'lambda', 's', 'cv', 'u', 'h', 'd'] 8.17582670703996 8.377578101 8.262320559 Calling exit ...