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.001698/0.001698, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001989/0.001989, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.433/1.433, allocations: 230.4 MB / 254.7 MB, free: 15 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.002171/0.002171, allocations: 68.06 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1083, allocations: 53.3 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003677/0.112, allocations: 2.272 MB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.114, allocations: 1.235 MB / 430.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1141, allocations: 4 kB / 430.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1144, allocations: 87.5 kB / 430.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.1148, allocations: 163.1 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1151, allocations: 119.6 kB / 430.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.1154, allocations: 298.7 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1156, allocations: 72.59 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1158, allocations: 107.6 kB / 431.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.116, allocations: 131.5 kB / 431.3 MB, free: 376 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.116, allocations: 19.94 kB / 431.3 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1161, allocations: 51.98 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.1162, allocations: 63.75 kB / 431.5 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1163, allocations: 111.4 kB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1962/0.3125, allocations: 298.7 kB / 431.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3125, allocations: 0 / 431.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3125, allocations: 0 / 431.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3125, allocations: 1.531 kB / 431.9 MB, free: 7.688 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.0007671/0.3133, allocations: 0.5581 MB / 432.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3134, allocations: 12.27 kB / 432.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.3134, allocations: 50.23 kB / 432.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.3136, allocations: 33.12 kB / 432.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.3139, allocations: 256.5 kB / 432.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.3139, allocations: 14.38 kB / 432.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.3139, allocations: 21.69 kB / 432.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.3142, allocations: 159.5 kB / 433 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3142, allocations: 2.156 kB / 433 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3142, allocations: 9.094 kB / 433 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3143, allocations: 3.938 kB / 433 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.3145, allocations: 120.9 kB / 433.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.3152, allocations: 0.5618 MB / 433.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3155, allocations: 150.5 kB / 433.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.3156, allocations: 84.05 kB / 433.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3157, allocations: 4.438 kB / 433.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.3159, allocations: 124.4 kB / 434 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.3159, allocations: 3.188 kB / 434 MB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004206/0.3163, allocations: 226.2 kB / 434.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.3163, allocations: 54.34 kB / 434.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3165, allocations: 260.7 kB / 434.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3165, allocations: 33.39 kB / 434.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.3166, allocations: 145.6 kB / 434.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3167, allocations: 75.11 kB / 434.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.3167, allocations: 50.47 kB / 434.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.3168, allocations: 338.1 kB / 435.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3169, allocations: 46.8 kB / 435.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.317, allocations: 90.19 kB / 435.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3172, allocations: 146.2 kB / 435.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3172, allocations: 0 / 435.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003184/0.3175, allocations: 208.1 kB / 435.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3175, allocations: 6.438 kB / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3175, allocations: 1.938 kB / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3176, allocations: 2.438 kB / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.3178, allocations: 46.5 kB / 435.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3178, allocations: 8.875 kB / 435.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.3179, allocations: 15.98 kB / 435.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3179, allocations: 11.47 kB / 435.7 MB, free: 5.688 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.0001129/0.318, allocations: 142.9 kB / 435.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.318, allocations: 22.45 kB / 435.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.3181, allocations: 30.81 kB / 435.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3181, allocations: 5.891 kB / 435.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3181, allocations: 9.719 kB / 435.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3181, allocations: 1.266 kB / 435.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.3183, allocations: 291.8 kB / 436.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3183, allocations: 1.031 kB / 436.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.3185, allocations: 35.77 kB / 436.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3185, allocations: 1.781 kB / 436.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3185, allocations: 4.375 kB / 436.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3185, allocations: 3.375 kB / 436.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3185, allocations: 3.938 kB / 436.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.319, allocations: 294.5 kB / 436.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.319, allocations: 91.41 kB / 436.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.319, allocations: 4.453 kB / 436.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.3191, allocations: 10.3 kB / 436.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3191, allocations: 14.81 kB / 436.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3192, allocations: 6.312 kB / 436.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3193, allocations: 192.7 kB / 436.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3193, allocations: 1.188 kB / 436.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3196, allocations: 63.61 kB / 436.9 MB, free: 5.066 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.001896/0.3215, allocations: 1.125 MB / 438.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.3218, allocations: 139 kB / 438.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3218, allocations: 4.188 kB / 438.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3219, allocations: 67.42 kB / 438.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3223, allocations: 47.11 kB / 438.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.3248, allocations: 2.396 MB / 440.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.325, allocations: 0.7487 MB / 441.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3251, allocations: 28.97 kB / 441.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3252, allocations: 74.19 kB / 441.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3252, allocations: 4 kB / 441.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.36, allocations: 5.429 MB / 447 MB, free: 1.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.378, allocations: 5.672 kB / 447 MB, free: 1.41 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_Motor_fmu --startTime=0 --stopTime=7200 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.664802430197597] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.T', 'winding.T'] 8.498532210942358 8.510977941 8.195721653 Calling exit ...