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.001214/0.001214, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001329/0.001329, allocations: 216.6 kB / 22.92 MB, free: 5.191 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.283/1.283, allocations: 230.5 MB / 256.4 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 179] 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.001735/0.001735, allocations: 59.91 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.209, allocations: 53.32 MB / 429.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003237/0.2122, allocations: 2.271 MB / 431.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.214, allocations: 1.251 MB / 432.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.2141, allocations: 7.938 kB / 432.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.2144, allocations: 87.5 kB / 433 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.2148, allocations: 159.1 kB / 433.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.215, allocations: 123.5 kB / 433.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.2153, allocations: 294.8 kB / 433.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.2155, allocations: 68.58 kB / 433.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.2157, allocations: 115.6 kB / 433.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2159, allocations: 135.4 kB / 433.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.2159, allocations: 16 kB / 433.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.216, allocations: 55.92 kB / 433.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.2161, allocations: 47.84 kB / 434 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.2162, allocations: 123.3 kB / 434.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.2166, allocations: 291.2 kB / 434.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2166, allocations: 0 / 434.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2166, allocations: 4 kB / 434.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2166, allocations: 0 / 434.4 MB, free: 2.43 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.0007731/0.2174, allocations: 0.5646 MB / 435 MB, free: 1.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2174, allocations: 11.97 kB / 435 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.2174, allocations: 50.73 kB / 435 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.2176, allocations: 36.75 kB / 435.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.2179, allocations: 263.8 kB / 435.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2179, allocations: 16.38 kB / 435.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.2179, allocations: 15.94 kB / 435.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.2182, allocations: 161.6 kB / 435.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2182, allocations: 0 / 435.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2183, allocations: 4 kB / 435.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2183, allocations: 4 kB / 435.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.2185, allocations: 127.7 kB / 435.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.2194, allocations: 0.5626 MB / 436.2 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.2197, allocations: 150.5 kB / 436.4 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2199, allocations: 88.81 kB / 436.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2199, allocations: 16.27 kB / 436.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.2201, allocations: 118.4 kB / 436.6 MB, free: 88 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.2201, allocations: 0 / 436.6 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004721/0.2206, allocations: 225.5 kB / 436.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.2206, allocations: 63.33 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.2209, allocations: 257 kB / 437.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2209, allocations: 29.7 kB / 437.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.221, allocations: 156.4 kB / 437.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.2211, allocations: 67.42 kB / 437.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.2211, allocations: 45.66 kB / 437.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2213, allocations: 338.8 kB / 437.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2214, allocations: 47.98 kB / 437.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2215, allocations: 79.41 kB / 437.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2217, allocations: 155.3 kB / 438 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2217, allocations: 0 / 438 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003229/0.2221, allocations: 201.4 kB / 438.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2221, allocations: 4 kB / 438.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2221, allocations: 96 / 438.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2221, allocations: 8 kB / 438.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.2223, allocations: 51.84 kB / 438.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2223, allocations: 4 kB / 438.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.78e-05/0.2224, allocations: 15.89 kB / 438.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2224, allocations: 4 kB / 438.3 MB, free: 14.29 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.0001377/0.2225, allocations: 148.7 kB / 438.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.2226, allocations: 23.86 kB / 438.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.2229, allocations: 203.8 kB / 438.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2229, allocations: 7.922 kB / 438.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2229, allocations: 3.938 kB / 438.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2229, allocations: 7.938 kB / 438.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.2232, allocations: 285.4 kB / 439 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2232, allocations: 0 / 439 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.2234, allocations: 31.98 kB / 439 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2234, allocations: 3.984 kB / 439 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2234, allocations: 8 kB / 439 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2234, allocations: 3.938 kB / 439 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2234, allocations: 3.984 kB / 439 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.2239, allocations: 297.8 kB / 439.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.2239, allocations: 100.9 kB / 439.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.224, allocations: 12 kB / 439.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.224, allocations: 0 / 439.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2241, allocations: 15.98 kB / 439.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2241, allocations: 4 kB / 439.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.2243, allocations: 196.5 kB / 439.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2243, allocations: 4.062 kB / 439.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.2245, allocations: 59.83 kB / 439.7 MB, free: 12.8 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.001968/0.2265, allocations: 1.117 MB / 440.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.2268, allocations: 139.1 kB / 440.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2268, allocations: 0 / 440.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2269, allocations: 71.91 kB / 441 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2272, allocations: 51.72 kB / 441 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.2299, allocations: 2.392 MB / 443.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2302, allocations: 0.7596 MB / 444.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.2304, allocations: 29.94 kB / 444.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2305, allocations: 67.42 kB / 444.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2305, allocations: 0 / 444.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.2584, allocations: 5.416 MB / 449.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.471, allocations: 7.984 kB / 449.7 MB, free: 2.82 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 --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: 10.445771688995592]