Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001174/0.001174, allocations: 105.8 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.001247/0.001247, allocations: 220.6 kB / 22.92 MB, free: 5.539 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.275/1.275, allocations: 230.5 MB / 256.4 MB, free: 8.438 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.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",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.001773/0.001773, allocations: 71.83 kB / 376.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2126, allocations: 53.31 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005269/0.2179, allocations: 4.623 MB / 434 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.2199, allocations: 1.426 MB / 435.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.2201, allocations: 19.88 kB / 435.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.2205, allocations: 174.2 kB / 435.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.2208, allocations: 174.3 kB / 435.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.2214, allocations: 375.3 kB / 436.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.2223, allocations: 0.986 MB / 437.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.2227, allocations: 287 kB / 437.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.2231, allocations: 334.5 kB / 437.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.2235, allocations: 346 kB / 438.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.038e-05/0.2236, allocations: 72 kB / 438.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2238, allocations: 120 kB / 438.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2239, allocations: 175.2 kB / 438.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003166/0.2242, allocations: 429.5 kB / 438.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009978/0.2252, allocations: 1.109 MB / 440 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2252, allocations: 0 / 440 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2252, allocations: 0 / 440 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2252, allocations: 4 kB / 440 MB, free: 12.79 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001426/0.2266, allocations: 1.172 MB / 441.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2267, allocations: 12.03 kB / 441.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.2268, allocations: 130.9 kB / 441.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.227, allocations: 119.3 kB / 441.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.2279, allocations: 0.6311 MB / 442 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.2279, allocations: 62 kB / 442.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.228, allocations: 87.95 kB / 442.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2292, allocations: 0.8442 MB / 443 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.2292, allocations: 7.938 kB / 443 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.2293, allocations: 36 kB / 443.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.2293, allocations: 20 kB / 443.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008291/0.2301, allocations: 475.3 kB / 443.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.2336, allocations: 4.389 MB / 448 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/0.2342, allocations: 287.5 kB / 448.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.2344, allocations: 133.6 kB / 448.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.2346, allocations: 170.6 kB / 448.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.2346, allocations: 42.88 kB / 448.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.603e-06/0.2346, allocations: 0 / 448.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003067/0.2377, allocations: 1.739 MB / 450.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.2377, allocations: 59.91 kB / 450.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.2383, allocations: 0.5431 MB / 450.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2383, allocations: 37.7 kB / 450.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.2386, allocations: 487.8 kB / 451.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.2388, allocations: 222.1 kB / 451.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.2389, allocations: 146.6 kB / 451.8 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2391, allocations: 374.8 kB / 452.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.2394, allocations: 165.9 kB / 452.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.2399, allocations: 455.2 kB / 452.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.2406, allocations: 0.6712 MB / 453.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2406, allocations: 8 kB / 453.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001044/0.2417, allocations: 0.7388 MB / 454.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.2417, allocations: 11.94 kB / 454.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.2417, allocations: 12 kB / 454.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.2419, allocations: 44.84 kB / 454.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.2424, allocations: 183.7 kB / 454.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.2437, allocations: 1.681 MB / 456.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.2439, allocations: 24 kB / 456.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.244, allocations: 40 kB / 456.2 MB, free: 11.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.2443, allocations: 237.5 kB / 456.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.2443, allocations: 83.45 kB / 456.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.2445, allocations: 71.08 kB / 456.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.2445, allocations: 8 kB / 456.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2445, allocations: 0 / 456.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2445, allocations: 4.172 kB / 456.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.2463, allocations: 1.418 MB / 458 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2463, allocations: 4 kB / 458 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.2467, allocations: 119.8 kB / 458.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-05/0.2468, allocations: 28.83 kB / 458.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.2468, allocations: 16 kB / 458.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008895/0.2477, allocations: 1.372 MB / 459.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.2477, allocations: 7.938 kB / 459.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.2487, allocations: 0.7818 MB / 460.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.2488, allocations: 136.6 kB / 460.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.2488, allocations: 19.98 kB / 460.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.249, allocations: 12 kB / 460.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.2491, allocations: 47.92 kB / 460.5 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.2491, allocations: 16 kB / 460.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003676/0.2495, allocations: 367.1 kB / 460.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2495, allocations: 0 / 460.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.25, allocations: 140 kB / 461 MB, free: 6.387 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.2513, allocations: 1.342 MB / 462.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.2521, allocations: 0.5686 MB / 462.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2521, allocations: 0.5625 kB / 462.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.2525, allocations: 298.3 kB / 463.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.2531, allocations: 103 kB / 463.3 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006936/0.26, allocations: 6.075 MB / 469.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.2605, allocations: 0.9652 MB / 470.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.2607, allocations: 86.02 kB / 470.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.2611, allocations: 323.3 kB / 470.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2611, allocations: 4 kB / 470.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.3015, allocations: 11.94 MB / 482.7 MB, free: 332 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.483/9.784, allocations: 14.45 kB / 482.7 MB, free: 320 kB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.819376534003823]