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.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, 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.001324/0.001324, 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.42/1.42, 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.00208/0.00208, allocations: 67.89 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2854, allocations: 50.54 MB / 409.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002684/0.2881, allocations: 1.475 MB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.2883, allocations: 23.91 kB / 410.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.2884, allocations: 7.938 kB / 410.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.2885, allocations: 0 / 410.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.2885, allocations: 3.938 kB / 410.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.2887, allocations: 23.97 kB / 410.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.2888, allocations: 23.92 kB / 410.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.2889, allocations: 16 kB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.289, allocations: 15.92 kB / 410.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.289, allocations: 19.91 kB / 410.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2891, allocations: 0 / 410.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.2891, allocations: 4 kB / 410.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2891, allocations: 3.938 kB / 410.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.2891, allocations: 15.94 kB / 410.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.664e-05/0.2892, allocations: 27.89 kB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2893, allocations: 0 / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2893, allocations: 0 / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2893, allocations: 4 kB / 410.7 MB, free: 15.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004637/0.2897, allocations: 346.4 kB / 411.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2898, allocations: 11.97 kB / 411.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2898, allocations: 34.73 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.2899, allocations: 8.891 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.2902, allocations: 184.2 kB / 411.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.2902, allocations: 4.375 kB / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2902, allocations: 384 / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.2906, allocations: 123.8 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2906, allocations: 3.938 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.2906, allocations: 0 / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2906, allocations: 0 / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2907, allocations: 27.92 kB / 411.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2909, allocations: 161.6 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.2911, allocations: 58.55 kB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.2912, allocations: 24.92 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.2912, allocations: 0 / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2912, allocations: 38.56 kB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2912, allocations: 0 / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002939/0.2915, allocations: 85.53 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2916, allocations: 51.41 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.2917, allocations: 109.8 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2917, allocations: 25.7 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.2917, allocations: 84.14 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2918, allocations: 11.92 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.2918, allocations: 13.72 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2919, allocations: 314.8 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.292, allocations: 4 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.292, allocations: 35.42 kB / 412.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.292, allocations: 35.38 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2921, allocations: 0 / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.253e-05/0.2922, allocations: 73.55 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2922, allocations: 7.938 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2922, allocations: 0 / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2922, allocations: 4.375 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.2923, allocations: 4 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2923, allocations: 7.938 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.2923, allocations: 4 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.2923, allocations: 4 kB / 412.6 MB, free: 13.62 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.291e-05/0.2924, allocations: 117.8 kB / 412.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.2926, allocations: 73.64 kB / 412.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.2926, allocations: 8.141 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2926, allocations: 3.984 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2926, allocations: 4 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2926, allocations: 0 / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2928, allocations: 161.6 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2928, allocations: 0 / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.2928, allocations: 8 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2928, allocations: 3.938 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2928, allocations: 0 / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2928, allocations: 4 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2929, allocations: 3.984 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.293, allocations: 89.05 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.2931, allocations: 85.06 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2931, allocations: 3.938 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.2932, allocations: 11.98 kB / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-06/0.2932, allocations: 0 / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2932, allocations: 0 / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.2932, allocations: 83.28 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2933, allocations: 0 / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001808/0.2934, allocations: 8 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005907/0.294, allocations: 0.6437 MB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2942, allocations: 32.11 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2942, allocations: 0 / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.2942, allocations: 3.938 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.2945, allocations: 31.92 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2956, allocations: 1.182 MB / 415.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.296, allocations: 0.6807 MB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.296, allocations: 4 kB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.296, allocations: 11.44 kB / 415.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2961, allocations: 0 / 415.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.3208, allocations: 1.381 MB / 417.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.353, allocations: 11.08 kB / 417.2 MB, free: 8.848 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1)