Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001915/0.001915, 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.002047/0.002047, 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.538/1.538, allocations: 227.7 MB / 247.2 MB, free: 10.14 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.003091/0.003091, allocations: 67.89 kB / 358.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2606, allocations: 50.54 MB / 409.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002624/0.2633, allocations: 1.612 MB / 410.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.2643, allocations: 0.6037 MB / 411.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.2644, allocations: 7.938 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.2646, allocations: 19.86 kB / 411.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.2646, allocations: 11.92 kB / 411.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2649, allocations: 78.23 kB / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.265, allocations: 63.84 kB / 411.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.2651, allocations: 15.98 kB / 411.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.2653, allocations: 43.78 kB / 411.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.2654, allocations: 31.84 kB / 411.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2654, allocations: 4 kB / 411.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.032e-05/0.2654, allocations: 12 kB / 411.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.2655, allocations: 19.92 kB / 411.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.2655, allocations: 31.73 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2657, allocations: 78.67 kB / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2657, allocations: 0 / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2657, allocations: 0 / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.2657, allocations: 3.938 kB / 411.7 MB, free: 14.71 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004452/0.2662, allocations: 387 kB / 412.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2662, allocations: 12.03 kB / 412.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.2662, allocations: 38.75 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.2664, allocations: 24.83 kB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2666, allocations: 217.7 kB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.2667, allocations: 384 / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2667, allocations: 11.94 kB / 412.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.267, allocations: 141.9 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.267, allocations: 3.938 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.267, allocations: 4 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.267, allocations: 7.984 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.844e-05/0.2671, allocations: 23.98 kB / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2675, allocations: 286.5 kB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.2676, allocations: 83.7 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.2677, allocations: 46.75 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2677, allocations: 7.984 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2678, allocations: 34.56 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2678, allocations: 0 / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002984/0.2681, allocations: 109.5 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.2682, allocations: 119 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.2683, allocations: 153 kB / 413.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.2683, allocations: 25.7 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.2684, allocations: 92.14 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2684, allocations: 11.88 kB / 413.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.2684, allocations: 21.72 kB / 413.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2686, allocations: 318.8 kB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.2686, allocations: 19.98 kB / 413.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/0.2687, allocations: 65.94 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2689, allocations: 81.88 kB / 414 MB, free: 12.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2689, allocations: 0 / 414 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001875/0.2691, allocations: 109.7 kB / 414.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2691, allocations: 8.031 kB / 414.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.2691, allocations: 4 kB / 414.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2691, allocations: 256 / 414.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.2692, allocations: 19.92 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2692, allocations: 8 kB / 414.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.2693, allocations: 7.938 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2693, allocations: 0 / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001031/0.2694, allocations: 133.7 kB / 414.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2695, allocations: 73.59 kB / 414.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.2696, allocations: 12.31 kB / 414.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2696, allocations: 4 kB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2696, allocations: 0 / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2696, allocations: 3.938 kB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2698, allocations: 177.6 kB / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2698, allocations: 0 / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.2698, allocations: 19.92 kB / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2699, allocations: 0 / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2699, allocations: 0 / 414.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2699, allocations: 4 kB / 414.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2699, allocations: 4.031 kB / 414.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.2701, allocations: 201.1 kB / 414.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.2702, allocations: 93.05 kB / 414.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2702, allocations: 4 kB / 414.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.2703, allocations: 0 / 414.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.2703, allocations: 15.88 kB / 414.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2703, allocations: 7.984 kB / 414.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.826e-05/0.2704, allocations: 110.1 kB / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.2704, allocations: 0 / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.2707, allocations: 15.94 kB / 415 MB, free: 10.94 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005604/0.2712, allocations: 0.761 MB / 415.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.2714, allocations: 59.84 kB / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2714, allocations: 0 / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.2715, allocations: 12.48 kB / 415.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.2718, allocations: 52.31 kB / 415.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.2733, allocations: 1.55 MB / 417.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.2736, allocations: 0.7039 MB / 418.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.2737, allocations: 12.36 kB / 418.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.2737, allocations: 27.42 kB / 418.2 MB, free: 7.582 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2737, allocations: 0 / 418.2 MB, free: 7.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.316, allocations: 2.09 MB / 420.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.349, allocations: 11.94 kB / 420.3 MB, free: 5.629 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_FractionalDelay.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1)