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.001723/0.001723, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.002072/0.002072, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.716/1.716, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002076/0.002076, allocations: 79.81 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1116, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003085/0.1146, allocations: 1.647 MB / 428.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1157, allocations: 0.5417 MB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/0.1157, allocations: 0 / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.513e-05/0.1158, allocations: 11.86 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1159, allocations: 27.78 kB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1162, allocations: 39.89 kB / 429.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1163, allocations: 95.53 kB / 429.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1164, allocations: 27.97 kB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.1165, allocations: 43.86 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.1166, allocations: 35.84 kB / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1166, allocations: 11.94 kB / 429.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.1167, allocations: 19.94 kB / 429.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.1167, allocations: 11.98 kB / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1168, allocations: 47.8 kB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.117, allocations: 99.62 kB / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.117, allocations: 0 / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.117, allocations: 0 / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.117, allocations: 0 / 429.6 MB, free: 2.137 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.0005427/0.1176, allocations: 383.2 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1176, allocations: 8.031 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.1176, allocations: 46.73 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.1178, allocations: 8.891 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1179, allocations: 176.3 kB / 430.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.118, allocations: 16.31 kB / 430.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.118, allocations: 4.375 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1182, allocations: 92.02 kB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1182, allocations: 0 / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1182, allocations: 4 kB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1182, allocations: 7.938 kB / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1183, allocations: 51.97 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.1191, allocations: 404.5 kB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1192, allocations: 66.55 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.1193, allocations: 36.8 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1193, allocations: 0 / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1193, allocations: 30.56 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1193, allocations: 4 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002551/0.1196, allocations: 93.61 kB / 431 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.1196, allocations: 51.41 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.1197, allocations: 106 kB / 431.2 MB, free: 392 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1198, allocations: 25.7 kB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.1198, allocations: 103.9 kB / 431.3 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1199, allocations: 35.88 kB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.1199, allocations: 29.7 kB / 431.4 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1201, allocations: 322.8 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.1201, allocations: 23.92 kB / 431.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.1202, allocations: 45.81 kB / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1203, allocations: 62.58 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1203, allocations: 0 / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001765/0.1205, allocations: 113.5 kB / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1205, allocations: 7.984 kB / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1205, allocations: 0 / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1205, allocations: 7.938 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1207, allocations: 31.88 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1207, allocations: 0 / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.1207, allocations: 4 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1207, allocations: 4 kB / 432 MB, free: 15.54 MB / 366.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.0001082/0.1208, allocations: 121.8 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1209, allocations: 7.984 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1209, allocations: 12.31 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1209, allocations: 7.938 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1209, allocations: 0 / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1209, allocations: 0 / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.1211, allocations: 185.6 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1211, allocations: 0 / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1212, allocations: 19.98 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1212, allocations: 0 / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1212, allocations: 7.938 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1212, allocations: 0 / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1212, allocations: 4 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1215, allocations: 199.5 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.1215, allocations: 85.25 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1216, allocations: 7.969 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.1216, allocations: 8 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1216, allocations: 0 / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1216, allocations: 4 kB / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.818e-05/0.1217, allocations: 95.27 kB / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1217, allocations: 0 / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1219, allocations: 20 kB / 432.8 MB, free: 14.67 MB / 366.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.0005211/0.1225, allocations: 0.7168 MB / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1226, allocations: 55.94 kB / 433.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1226, allocations: 4.188 kB / 433.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.1227, allocations: 31.91 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.123, allocations: 4 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1249, allocations: 1.552 MB / 435.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1253, allocations: 0.6961 MB / 435.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.94e-05/0.1253, allocations: 7.938 kB / 435.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.1253, allocations: 19.42 kB / 435.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1253, allocations: 4 kB / 435.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.1516, allocations: 1.82 MB / 437.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.355, allocations: 7.922 kB / 437.7 MB, free: 9.711 MB / 366.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: 11.25654178019613] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.T', 'mass2.T'] 8.422955977730453 8.603201149 8.483564182 Calling exit ...