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.001248/0.001248, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00138/0.00138, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.086 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.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.001977/0.001977, allocations: 68.55 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2859, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.004065/0.2899, allocations: 2.276 MB / 434.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.2923, allocations: 1.251 MB / 435.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.2925, allocations: 11.88 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.2929, allocations: 91.5 kB / 435.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.2933, allocations: 163 kB / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.2937, allocations: 119.6 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.2941, allocations: 298.8 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.2943, allocations: 65.52 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.2945, allocations: 123.6 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.2948, allocations: 131.5 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.2948, allocations: 16 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.295, allocations: 51.98 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.2951, allocations: 55.81 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.2952, allocations: 123.3 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.2957, allocations: 291.7 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2957, allocations: 0 / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2957, allocations: 0 / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.2958, allocations: 0 / 436.9 MB, free: 1.836 MB / 334.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.001035/0.2968, allocations: 0.4933 MB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2968, allocations: 12.03 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/0.2969, allocations: 50.73 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.2971, allocations: 32.75 kB / 437.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.2975, allocations: 206 kB / 437.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.2976, allocations: 16.38 kB / 437.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.2976, allocations: 27.86 kB / 437.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.298, allocations: 153.6 kB / 437.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.298, allocations: 0 / 437.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.298, allocations: 4 kB / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.298, allocations: 8 kB / 437.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.2983, allocations: 115.7 kB / 438 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.2992, allocations: 0.5343 MB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.2996, allocations: 156.9 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.2998, allocations: 76.83 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.2998, allocations: 4.344 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3, allocations: 123.2 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.3, allocations: 0 / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005445/0.3006, allocations: 228 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3006, allocations: 59.39 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3009, allocations: 260.9 kB / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.301, allocations: 29.7 kB / 439.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3011, allocations: 148.4 kB / 439.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3012, allocations: 71.42 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.3012, allocations: 49.66 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3014, allocations: 338.8 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3015, allocations: 51.91 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3017, allocations: 87.34 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.302, allocations: 145.3 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.302, allocations: 0 / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003862/0.3024, allocations: 208.5 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3024, allocations: 8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3024, allocations: 0 / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3024, allocations: 8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3026, allocations: 47.86 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3026, allocations: 8.078 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3027, allocations: 19.89 kB / 440.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3028, allocations: 8 kB / 440.7 MB, free: 13.89 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.0001491/0.3029, allocations: 140.5 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.3029, allocations: 27.8 kB / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.3034, allocations: 199.7 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3034, allocations: 7.938 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3034, allocations: 3.984 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3034, allocations: 4 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3037, allocations: 256.5 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3037, allocations: 0 / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.3039, allocations: 39.92 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3039, allocations: 3.938 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3039, allocations: 7.984 kB / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3039, allocations: 3.938 kB / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3039, allocations: 0 / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.3044, allocations: 283.8 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.3045, allocations: 27.77 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3045, allocations: 7.984 kB / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.3046, allocations: 8 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3046, allocations: 7.984 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3047, allocations: 7.984 kB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3049, allocations: 192.5 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3049, allocations: 4 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3051, allocations: 63.88 kB / 441.9 MB, free: 12.55 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.nextTimeEvent,lossTable.nextTimeEventScaled) * 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.002266/0.3074, allocations: 1.122 MB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.3078, allocations: 135.8 kB / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3078, allocations: 4 kB / 443.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3079, allocations: 64.11 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3082, allocations: 54.06 kB / 443.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.3116, allocations: 2.393 MB / 445.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.312, allocations: 0.748 MB / 446.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.3121, allocations: 29.92 kB / 446.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3122, allocations: 79.41 kB / 446.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3122, allocations: 4 kB / 446.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.3554, allocations: 5.572 MB / 452.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.543, allocations: 2.969 kB / 452.1 MB, free: 2.41 MB / 350.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.999329201877117] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.T', 'winding.T'] 8.687657604925334 8.70532723 8.406126377 Calling exit ...