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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001751, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.603/1.603, allocations: 227.7 MB / 247.2 MB, free: 10.16 MB / 206.1 MB 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.001991/0.001991, allocations: 63.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2829, allocations: 50.55 MB / 409.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003748/0.2867, allocations: 2 MB / 411.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2882, allocations: 0.6935 MB / 411.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2884, allocations: 4 kB / 411.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2885, allocations: 19.8 kB / 411.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2887, allocations: 35.64 kB / 411.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.289, allocations: 55.8 kB / 411.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.2892, allocations: 155.3 kB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2894, allocations: 29.11 kB / 412 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.2895, allocations: 59.72 kB / 412.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2896, allocations: 55.77 kB / 412.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.2896, allocations: 11.98 kB / 412.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.2897, allocations: 27.98 kB / 412.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.2898, allocations: 27.86 kB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.2899, allocations: 59.73 kB / 412.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.2902, allocations: 154.4 kB / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2902, allocations: 4 kB / 412.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2902, allocations: 0 / 412.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2902, allocations: 3.938 kB / 412.4 MB, free: 13.98 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.0007868/0.291, allocations: 446.7 kB / 412.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2911, allocations: 8.031 kB / 412.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.2911, allocations: 42.75 kB / 412.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.2914, allocations: 36.81 kB / 413 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2917, allocations: 196.2 kB / 413.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2917, allocations: 8.375 kB / 413.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.2918, allocations: 12.12 kB / 413.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.2921, allocations: 117.6 kB / 413.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2921, allocations: 3.953 kB / 413.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.2921, allocations: 8 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2921, allocations: 4 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.2925, allocations: 95.86 kB / 413.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.2934, allocations: 495.4 kB / 413.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.2937, allocations: 122.5 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2939, allocations: 48.88 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2939, allocations: 0 / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.294, allocations: 38.5 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.294, allocations: 0 / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001145/0.2951, allocations: 482.2 kB / 414.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2952, allocations: 55.41 kB / 414.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2953, allocations: 134.2 kB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.2954, allocations: 25.7 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.2955, allocations: 120.2 kB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.2955, allocations: 59.52 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.2956, allocations: 29.7 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2958, allocations: 322.8 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2959, allocations: 47.88 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2961, allocations: 74.38 kB / 415.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.2964, allocations: 125.7 kB / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2964, allocations: 0 / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003794/0.2968, allocations: 173.5 kB / 415.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2968, allocations: 12 kB / 415.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.2968, allocations: 4.031 kB / 415.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.2969, allocations: 3.984 kB / 415.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2971, allocations: 35.98 kB / 415.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2971, allocations: 0 / 415.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2972, allocations: 11.98 kB / 415.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.2972, allocations: 4 kB / 415.8 MB, free: 10.34 MB / 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 0.0001117/0.2973, allocations: 129.7 kB / 415.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.2974, allocations: 23.78 kB / 415.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.2974, allocations: 20.83 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2974, allocations: 0 / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2974, allocations: 0 / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2975, allocations: 0 / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.2982, allocations: 480.8 kB / 416.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2983, allocations: 0 / 416.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.2985, allocations: 35.92 kB / 416.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2985, allocations: 0 / 416.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2985, allocations: 4 kB / 416.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2985, allocations: 3.984 kB / 416.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2985, allocations: 0 / 416.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.2991, allocations: 309.1 kB / 416.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.2992, allocations: 85.06 kB / 416.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.2992, allocations: 0 / 416.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2993, allocations: 16.03 kB / 416.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.2994, allocations: 4 kB / 416.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.2994, allocations: 15.98 kB / 416.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.2995, allocations: 97.84 kB / 417 MB, free: 9.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2995, allocations: 0 / 417 MB, free: 9.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.2998, allocations: 31.94 kB / 417 MB, free: 9 MB / 334.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.0008876/0.3007, allocations: 0.8505 MB / 417.8 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.301, allocations: 110.3 kB / 418 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.301, allocations: 0 / 418 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.3012, allocations: 68.14 kB / 418 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3016, allocations: 17.12 kB / 418 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3044, allocations: 1.972 MB / 420 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3048, allocations: 0.7158 MB / 420.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.389e-05/0.3049, allocations: 12.64 kB / 420.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.305, allocations: 39.42 kB / 420.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.305, allocations: 3.938 kB / 420.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.3354, allocations: 3.025 MB / 423.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.351, allocations: 15.62 kB / 423.8 MB, free: 2.172 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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)