Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 118.8 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.001281, allocations: 202 kB / 18.73 MB, free: 4.309 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.438/1.438, allocations: 227.7 MB / 247.2 MB, free: 10.18 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.001955/0.001955, allocations: 67.89 kB / 358.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 50.55 MB / 409.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003557/0.2945, allocations: 2.121 MB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2956, allocations: 0.5765 MB / 411.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2957, allocations: 4 kB / 411.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2959, allocations: 31.66 kB / 411.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.296, allocations: 59.42 kB / 411.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.2962, allocations: 43.95 kB / 411.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2965, allocations: 207.1 kB / 412.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.2967, allocations: 77.16 kB / 412.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.2968, allocations: 79.7 kB / 412.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.297, allocations: 79.64 kB / 412.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.297, allocations: 20 kB / 412.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.2971, allocations: 16 kB / 412.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.2971, allocations: 39.84 kB / 412.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.2972, allocations: 87.55 kB / 412.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.2976, allocations: 214.1 kB / 412.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2976, allocations: 4 kB / 412.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2976, allocations: 0 / 412.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2976, allocations: 0 / 412.7 MB, free: 13.74 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.0007382/0.2984, allocations: 478.6 kB / 413.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2984, allocations: 8.031 kB / 413.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.2985, allocations: 46.73 kB / 413.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.2985, allocations: 20.84 kB / 413.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.2989, allocations: 236 kB / 413.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2989, allocations: 16.16 kB / 413.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.2989, allocations: 16.38 kB / 413.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.2993, allocations: 157.7 kB / 413.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.2993, allocations: 0 / 413.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.2993, allocations: 11.94 kB / 413.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2994, allocations: 4 kB / 413.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.2996, allocations: 107.7 kB / 413.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009356/0.3005, allocations: 0.5928 MB / 414.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3008, allocations: 114.6 kB / 414.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3009, allocations: 44.84 kB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3009, allocations: 7.984 kB / 414.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.301, allocations: 38.56 kB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.301, allocations: 0 / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001699/0.3027, allocations: 0.7937 MB / 415.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3028, allocations: 55.41 kB / 415.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.303, allocations: 159.1 kB / 415.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.303, allocations: 25.7 kB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3031, allocations: 136.4 kB / 415.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.3032, allocations: 63.44 kB / 415.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.3032, allocations: 41.64 kB / 415.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3034, allocations: 334.8 kB / 416.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3035, allocations: 43.92 kB / 416.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.3037, allocations: 76.91 kB / 416.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.3039, allocations: 135.3 kB / 416.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3039, allocations: 0 / 416.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004144/0.3044, allocations: 201.8 kB / 416.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3044, allocations: 11.06 kB / 416.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3044, allocations: 7.984 kB / 416.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.3046, allocations: 36.84 kB / 416.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3048, allocations: 32.05 kB / 416.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.3064, allocations: 1.536 MB / 418.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.3065, allocations: 8.031 kB / 418.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3065, allocations: 4 kB / 418.2 MB, free: 7.703 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): 17 * 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.0001509/0.3067, allocations: 138.6 kB / 418.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.3068, allocations: 15.91 kB / 418.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.3068, allocations: 21.17 kB / 418.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3069, allocations: 0 / 418.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3069, allocations: 8 kB / 418.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3069, allocations: 4.047 kB / 418.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008737/0.3078, allocations: 0.5878 MB / 419 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3078, allocations: 0 / 419 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.3079, allocations: 27.98 kB / 419 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.3081, allocations: 36.83 kB / 419.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3081, allocations: 4 kB / 419.1 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.3094, allocations: 1.477 MB / 420.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3094, allocations: 0 / 420.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.3099, allocations: 340 kB / 420.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.31, allocations: 89.05 kB / 421 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.3101, allocations: 12.12 kB / 421 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3102, allocations: 0 / 421 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.3102, allocations: 15.98 kB / 421 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3103, allocations: 4 kB / 421 MB, free: 4.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.3104, allocations: 119.2 kB / 421.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3104, allocations: 0 / 421.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000328/0.3107, allocations: 51.94 kB / 421.2 MB, free: 4.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008626/0.3116, allocations: 0.8725 MB / 422 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005255/0.3121, allocations: 246.6 kB / 422.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3121, allocations: 4.188 kB / 422.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3124, allocations: 190.6 kB / 422.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3128, allocations: 38.53 kB / 422.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.3156, allocations: 2.133 MB / 424.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.316, allocations: 0.7281 MB / 425.4 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.524e-05/0.3161, allocations: 21.48 kB / 425.4 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.3162, allocations: 47.42 kB / 425.4 MB, free: 68 kB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3162, allocations: 0 / 425.4 MB, free: 68 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.3479, allocations: 3.767 MB / 429.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.955/10.3, allocations: 17.89 kB / 429.2 MB, free: 12.43 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)