Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002156/0.002156, allocations: 117.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.002157/0.002157, allocations: 199.8 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.437/1.437, 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.002071/0.002071, allocations: 63.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2626, allocations: 50.55 MB / 409 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00306/0.2657, allocations: 1.654 MB / 410.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.266, allocations: 71.7 kB / 410.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.2661, allocations: 4 kB / 410.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.2663, allocations: 7.922 kB / 410.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.2663, allocations: 15.86 kB / 410.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.2664, allocations: 15.92 kB / 410.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.2666, allocations: 67.72 kB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2667, allocations: 27.97 kB / 410.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.2668, allocations: 23.88 kB / 410.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.2668, allocations: 23.92 kB / 411 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.2669, allocations: 4 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.2669, allocations: 11.94 kB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.2669, allocations: 7.984 kB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.267, allocations: 27.88 kB / 411 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2671, allocations: 62.73 kB / 411.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2671, allocations: 0 / 411.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2671, allocations: 0 / 411.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2672, allocations: 4 kB / 411.1 MB, free: 15.36 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005/0.2677, allocations: 367.3 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2677, allocations: 8.031 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.2678, allocations: 42.73 kB / 411.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.2678, allocations: 8.891 kB / 411.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.2681, allocations: 184.2 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2681, allocations: 4.375 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.2681, allocations: 8.375 kB / 411.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2683, allocations: 70.23 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2683, allocations: 3.938 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2683, allocations: 4 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2683, allocations: 7.938 kB / 411.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.442e-05/0.2684, allocations: 31.97 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.2691, allocations: 383.6 kB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.2692, allocations: 62.55 kB / 412.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.2692, allocations: 24.78 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.2692, allocations: 4 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2693, allocations: 30.56 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 3.637e-06/0.2693, allocations: 0 / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007638/0.2701, allocations: 0.5209 MB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2701, allocations: 51.41 kB / 412.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.2702, allocations: 117.8 kB / 413 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2702, allocations: 29.7 kB / 413 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.2703, allocations: 96.08 kB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.2703, allocations: 35.69 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.2704, allocations: 25.72 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2705, allocations: 318.8 kB / 413.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.2706, allocations: 20 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.2707, allocations: 60.14 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.2708, allocations: 93.02 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2708, allocations: 0 / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001768/0.271, allocations: 109.5 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.271, allocations: 4 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.271, allocations: 0 / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.271, allocations: 4 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.2711, allocations: 23.98 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2711, allocations: 3.938 kB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.2712, allocations: 8.094 kB / 413.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2712, allocations: 12.47 kB / 413.8 MB, free: 12.26 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.000101/0.2713, allocations: 121.7 kB / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.2713, allocations: 7.953 kB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.2714, allocations: 12.36 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2714, allocations: 0 / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2714, allocations: 7.875 kB / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2714, allocations: 0 / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.272, allocations: 426.6 kB / 414.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.272, allocations: 7.938 kB / 414.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.2721, allocations: 12 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.2721, allocations: 4 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2721, allocations: 7.984 kB / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2721, allocations: 0 / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2721, allocations: 160 / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.2724, allocations: 235.7 kB / 414.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.2724, allocations: 89.03 kB / 414.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2725, allocations: 8.062 kB / 414.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.2725, allocations: 4 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2726, allocations: 7.984 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.2726, allocations: 4 kB / 414.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.2726, allocations: 91.27 kB / 414.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2726, allocations: 0 / 414.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.2729, allocations: 20 kB / 414.8 MB, free: 11.08 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0005435/0.2734, allocations: 0.7634 MB / 415.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.2736, allocations: 56.45 kB / 415.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2736, allocations: 0 / 415.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.2737, allocations: 39.86 kB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.274, allocations: 14.91 kB / 415.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.2758, allocations: 1.674 MB / 417.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.2763, allocations: 0.6963 MB / 418.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.2763, allocations: 4.438 kB / 418.1 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.2764, allocations: 23.42 kB / 418.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of SimCode: time 2.124e-06/0.2764, allocations: 0 / 418.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.3011, allocations: 1.906 MB / 420 MB, free: 5.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.139, allocations: 4 kB / 420 MB, free: 5.805 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate_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_Accelerate.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)