Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001383/0.001383, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001517/0.001517, allocations: 218.1 kB / 22.92 MB, free: 5.535 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.29/1.29, allocations: 230.5 MB / 256.4 MB, free: 8.441 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.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",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.001784/0.001784, allocations: 63.89 kB / 376.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2062, allocations: 53.32 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00313/0.2094, allocations: 2.034 MB / 431.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2104, allocations: 0.6974 MB / 432.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.2105, allocations: 4 kB / 432.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2106, allocations: 19.8 kB / 432.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.2107, allocations: 43.58 kB / 432.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2109, allocations: 55.8 kB / 432.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.2111, allocations: 147.3 kB / 432.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2112, allocations: 21.12 kB / 432.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2113, allocations: 63.7 kB / 432.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.2114, allocations: 59.77 kB / 432.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.2114, allocations: 8 kB / 432.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.2115, allocations: 27.98 kB / 432.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.2115, allocations: 23.86 kB / 432.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.2116, allocations: 63.73 kB / 432.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2118, allocations: 151.8 kB / 432.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2118, allocations: 0 / 432.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2118, allocations: 0 / 432.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2118, allocations: 0 / 432.8 MB, free: 4.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006313/0.2124, allocations: 450.8 kB / 433.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2125, allocations: 8.031 kB / 433.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.2125, allocations: 42.69 kB / 433.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.2127, allocations: 32.81 kB / 433.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.2129, allocations: 204.2 kB / 433.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2129, allocations: 12.38 kB / 433.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.2129, allocations: 16.12 kB / 433.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.2132, allocations: 117.5 kB / 433.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2132, allocations: 3.953 kB / 433.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2132, allocations: 8 kB / 433.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2132, allocations: 3.938 kB / 433.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.2135, allocations: 99.86 kB / 433.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/0.2143, allocations: 487.5 kB / 434.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.2146, allocations: 110.6 kB / 434.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.2147, allocations: 48.81 kB / 434.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.2147, allocations: 4 kB / 434.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2148, allocations: 38.5 kB / 434.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.2148, allocations: 0 / 434.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009907/0.2158, allocations: 482.2 kB / 434.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2158, allocations: 51.41 kB / 435 MB, free: 1.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2159, allocations: 137.2 kB / 435.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2159, allocations: 29.64 kB / 435.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.216, allocations: 116.2 kB / 435.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.216, allocations: 51.56 kB / 435.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.2161, allocations: 37.67 kB / 435.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2162, allocations: 322.8 kB / 435.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.2163, allocations: 47.88 kB / 435.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.2165, allocations: 67.41 kB / 435.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.2168, allocations: 127.3 kB / 435.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2168, allocations: 0 / 435.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003328/0.2171, allocations: 175.1 kB / 436 MB, free: 464 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2171, allocations: 4 kB / 436.1 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2171, allocations: 0 / 436.1 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2171, allocations: 4 kB / 436.1 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2173, allocations: 40.05 kB / 436.1 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2173, allocations: 4 kB / 436.1 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/0.2174, allocations: 7.984 kB / 436.1 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2174, allocations: 8 kB / 436.1 MB, free: 396 kB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.686e-05/0.2175, allocations: 126.4 kB / 436.2 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2175, allocations: 11.89 kB / 436.2 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.2176, allocations: 16.83 kB / 436.3 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2176, allocations: 4 kB / 436.3 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2176, allocations: 4 kB / 436.3 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2176, allocations: 0 / 436.3 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.2183, allocations: 476 kB / 436.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2183, allocations: 4 kB / 436.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2184, allocations: 39.98 kB / 436.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2185, allocations: 4 kB / 436.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2185, allocations: 0 / 436.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.2185, allocations: 11.98 kB / 436.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2185, allocations: 0 / 436.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.219, allocations: 309 kB / 437.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.219, allocations: 85.06 kB / 437.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.219, allocations: 0 / 437.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.2191, allocations: 12.03 kB / 437.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2192, allocations: 7.984 kB / 437.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2192, allocations: 4 kB / 437.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.872e-05/0.2193, allocations: 103.3 kB / 437.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2193, allocations: 0 / 437.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.2195, allocations: 39.88 kB / 437.3 MB, free: 15.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.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 (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 Backend phase and start with SimCode phase: time 0.0007443/0.2202, allocations: 0.835 MB / 438.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.2205, allocations: 119 kB / 438.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2205, allocations: 0 / 438.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.2207, allocations: 56.78 kB / 438.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.221, allocations: 18.66 kB / 438.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.2232, allocations: 1.995 MB / 440.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.2236, allocations: 0.708 MB / 441.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.2236, allocations: 12.64 kB / 441.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.2237, allocations: 35.42 kB / 441.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2237, allocations: 4 kB / 441.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.2501, allocations: 3.026 MB / 444.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.221, allocations: 9.438 kB / 444.2 MB, free: 8.168 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.29648959699989]