Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.00163/0.00163, allocations: 123.6 kB / 18.45 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.001897/0.001897, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.496/1.496, allocations: 227.7 MB / 251.9 MB, free: 15.86 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.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",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.001944/0.001944, allocations: 75.81 kB / 365.2 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 50.53 MB / 415.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003196/0.1094, allocations: 1.647 MB / 417.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1104, allocations: 0.5338 MB / 417.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.1105, allocations: 4 kB / 417.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.756e-05/0.1106, allocations: 19.86 kB / 417.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1107, allocations: 27.77 kB / 418 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.111, allocations: 27.91 kB / 418 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1112, allocations: 107.5 kB / 418.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1113, allocations: 31.98 kB / 418.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.1114, allocations: 31.92 kB / 418.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1115, allocations: 51.77 kB / 418.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1115, allocations: 8 kB / 418.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.1116, allocations: 12 kB / 418.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.1117, allocations: 15.98 kB / 418.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.1117, allocations: 47.8 kB / 418.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1119, allocations: 99.61 kB / 418.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.112, allocations: 0 / 418.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.112, allocations: 0 / 418.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.112, allocations: 0 / 418.4 MB, free: 10.95 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.0006155/0.1126, allocations: 383.2 kB / 418.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1127, allocations: 8.031 kB / 418.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.1127, allocations: 42.73 kB / 418.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1128, allocations: 12.89 kB / 418.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.113, allocations: 176.2 kB / 419 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1131, allocations: 8.375 kB / 419 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.1131, allocations: 12.38 kB / 419 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1133, allocations: 79.86 kB / 419.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1133, allocations: 0 / 419.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1134, allocations: 12 kB / 419.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1134, allocations: 0 / 419.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.1135, allocations: 55.91 kB / 419.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.1143, allocations: 404.4 kB / 419.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1145, allocations: 70.5 kB / 419.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.1146, allocations: 40.84 kB / 419.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1146, allocations: 0 / 419.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1146, allocations: 34.56 kB / 419.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1146, allocations: 0 / 419.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002712/0.1149, allocations: 85.77 kB / 419.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.115, allocations: 59.34 kB / 419.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1151, allocations: 106 kB / 419.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1151, allocations: 29.7 kB / 420 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.1152, allocations: 111.9 kB / 420.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.1153, allocations: 35.73 kB / 420.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1153, allocations: 21.66 kB / 420.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1155, allocations: 322.8 kB / 420.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.1156, allocations: 20 kB / 420.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.1157, allocations: 44.81 kB / 420.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1158, allocations: 70.45 kB / 420.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.1158, allocations: 3.984 kB / 420.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000173/0.116, allocations: 109.5 kB / 420.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.116, allocations: 10.34 kB / 420.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1161, allocations: 256 / 420.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.1161, allocations: 3.938 kB / 420.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1162, allocations: 27.98 kB / 420.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1162, allocations: 64 / 420.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.1163, allocations: 8 kB / 420.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1163, allocations: 8 kB / 420.8 MB, free: 8.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 0.0001202/0.1164, allocations: 117.8 kB / 420.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1165, allocations: 7.953 kB / 420.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.1165, allocations: 12.31 kB / 420.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1165, allocations: 0 / 420.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1165, allocations: 0 / 420.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1165, allocations: 3.984 kB / 420.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1168, allocations: 193.6 kB / 421.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1168, allocations: 4 kB / 421.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1169, allocations: 19.98 kB / 421.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1169, allocations: 0 / 421.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1169, allocations: 3.938 kB / 421.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.117, allocations: 0 / 421.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.117, allocations: 0 / 421.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1172, allocations: 195.4 kB / 421.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.1173, allocations: 85.09 kB / 421.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1173, allocations: 8 kB / 421.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.1174, allocations: 0 / 421.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.1174, allocations: 7.984 kB / 421.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1174, allocations: 0 / 421.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.332e-05/0.1175, allocations: 83.28 kB / 421.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1175, allocations: 3.938 kB / 421.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1177, allocations: 24 kB / 421.5 MB, free: 7.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * 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.0006041/0.1183, allocations: 0.7284 MB / 422.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1185, allocations: 63.83 kB / 422.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1186, allocations: 4 kB / 422.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.1186, allocations: 24.06 kB / 422.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.119, allocations: 4 kB / 422.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1208, allocations: 1.551 MB / 423.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1212, allocations: 0.6961 MB / 424.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.1212, allocations: 7.984 kB / 424.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.1213, allocations: 19.44 kB / 424.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1213, allocations: 0 / 424.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.1471, allocations: 1.801 MB / 426.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.169, allocations: 10.39 kB / 426.4 MB, free: 2.547 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.725504401954822] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.T', 'mass2.T'] 8.238561123027466 8.266008734 8.14938003 Calling exit ...