Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.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.001885/0.001885, allocations: 120.3 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.002189/0.002189, allocations: 208.9 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.454/1.454, allocations: 227.7 MB / 251.9 MB, free: 20 kB / 190.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.Motor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_Motor",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.001951/0.001951, allocations: 71.83 kB / 365.2 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09897, allocations: 50.54 MB / 415.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003898/0.1029, allocations: 2.249 MB / 418 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1053, allocations: 1.22 MB / 419.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1054, allocations: 0 / 419.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.1058, allocations: 91.5 kB / 419.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.1063, allocations: 163 kB / 419.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.1066, allocations: 115.6 kB / 419.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.107, allocations: 302.7 kB / 419.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.1072, allocations: 88.56 kB / 420 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1074, allocations: 119.5 kB / 420.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1076, allocations: 127.5 kB / 420.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.1076, allocations: 16 kB / 420.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.1078, allocations: 47.98 kB / 420.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.1079, allocations: 63.7 kB / 420.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1081, allocations: 123.3 kB / 420.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.1085, allocations: 294.8 kB / 420.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1086, allocations: 0 / 420.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1086, allocations: 0 / 420.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1086, allocations: 0 / 420.7 MB, free: 8.621 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009774/0.1096, allocations: 0.5569 MB / 421.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1096, allocations: 12.03 kB / 421.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/0.1097, allocations: 54.73 kB / 421.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1098, allocations: 32.75 kB / 421.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.1103, allocations: 259.9 kB / 421.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1103, allocations: 12.38 kB / 421.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.1104, allocations: 23.88 kB / 421.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1107, allocations: 157.6 kB / 421.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1107, allocations: 4 kB / 421.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1107, allocations: 4 kB / 421.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1108, allocations: 8 kB / 421.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.111, allocations: 123.5 kB / 422 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009146/0.1119, allocations: 0.5586 MB / 422.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.1123, allocations: 168.8 kB / 422.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1125, allocations: 91.58 kB / 422.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1125, allocations: 4.344 kB / 422.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.1128, allocations: 121.5 kB / 422.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.1128, allocations: 0 / 422.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005179/0.1133, allocations: 229.4 kB / 423.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1134, allocations: 59.41 kB / 423.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1137, allocations: 257 kB / 423.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1137, allocations: 33.7 kB / 423.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1138, allocations: 144.4 kB / 423.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.1139, allocations: 79.41 kB / 423.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.114, allocations: 37.67 kB / 423.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1142, allocations: 342.8 kB / 424.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1143, allocations: 51.97 kB / 424.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1144, allocations: 91.34 kB / 424.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.1147, allocations: 142 kB / 424.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1147, allocations: 0 / 424.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003805/0.1151, allocations: 214.5 kB / 424.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1151, allocations: 7.938 kB / 424.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1151, allocations: 0 / 424.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1152, allocations: 4 kB / 424.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.1154, allocations: 47.86 kB / 424.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1154, allocations: 4 kB / 424.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1155, allocations: 23.81 kB / 424.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1156, allocations: 8 kB / 424.6 MB, free: 4.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001464/0.1157, allocations: 137.9 kB / 424.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.1158, allocations: 31.78 kB / 424.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.037e-05/0.1158, allocations: 30.19 kB / 424.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1159, allocations: 7.922 kB / 424.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1159, allocations: 4 kB / 424.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1159, allocations: 3.984 kB / 424.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.1162, allocations: 285.4 kB / 425.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1162, allocations: 0 / 425.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.1164, allocations: 31.98 kB / 425.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.1164, allocations: 4 kB / 425.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1164, allocations: 7.984 kB / 425.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1165, allocations: 7.938 kB / 425.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1165, allocations: 0 / 425.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.117, allocations: 285.8 kB / 425.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.1171, allocations: 96.98 kB / 425.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.1171, allocations: 11.92 kB / 425.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1172, allocations: 4 kB / 425.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1172, allocations: 11.98 kB / 425.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.1173, allocations: 16.06 kB / 425.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1175, allocations: 192.5 kB / 425.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1175, allocations: 0 / 425.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1178, allocations: 59.89 kB / 425.8 MB, free: 3.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002164/0.1199, allocations: 1.123 MB / 427 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1203, allocations: 142.7 kB / 427.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1203, allocations: 0 / 427.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1205, allocations: 74.66 kB / 427.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1209, allocations: 52.34 kB / 427.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.124, allocations: 2.399 MB / 429.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1244, allocations: 0.7519 MB / 430.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1245, allocations: 29.94 kB / 430.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1247, allocations: 71.41 kB / 430.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1247, allocations: 0 / 430.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.154, allocations: 5.383 MB / 435.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.439, allocations: 8.672 kB / 435.9 MB, free: 9.281 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_Motor.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.98087733599823] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.T', 'winding.T'] 8.566261574043892 8.725846818 8.614706796 Calling exit ...