Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 200.6 kB / 18.72 MB, free: 4.438 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.432/1.432, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.00306/0.00306, allocations: 67.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2847, allocations: 50.54 MB / 409 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002787/0.2875, allocations: 1.514 MB / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000381/0.2879, allocations: 135.5 kB / 410.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.288, allocations: 4 kB / 410.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.2881, allocations: 3.938 kB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.2882, allocations: 7.922 kB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2884, allocations: 38.66 kB / 410.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.2885, allocations: 27.92 kB / 410.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.2886, allocations: 11.98 kB / 410.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.2886, allocations: 7.938 kB / 410.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.2887, allocations: 15.88 kB / 410.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2887, allocations: 4 kB / 410.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.2887, allocations: 4 kB / 410.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.2888, allocations: 11.98 kB / 410.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.2888, allocations: 19.8 kB / 410.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2889, allocations: 42.78 kB / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2889, allocations: 0 / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2889, allocations: 0 / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.2889, allocations: 0 / 410.9 MB, free: 15.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004458/0.2894, allocations: 363.2 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2894, allocations: 15.97 kB / 411.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.2895, allocations: 30.75 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2895, allocations: 8.891 kB / 411.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2898, allocations: 196.2 kB / 411.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.2898, allocations: 384 / 411.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.2898, allocations: 4.312 kB / 411.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.29, allocations: 97.61 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2901, allocations: 3.938 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2901, allocations: 3.938 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2901, allocations: 0 / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.2902, allocations: 11.98 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2905, allocations: 265.7 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.2906, allocations: 45.14 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.2906, allocations: 21.72 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2907, allocations: 0 / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2907, allocations: 34.56 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2907, allocations: 4 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002277/0.2909, allocations: 61.61 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.291, allocations: 77.11 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2912, allocations: 134.1 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2912, allocations: 29.69 kB / 412.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.2913, allocations: 88.39 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.2913, allocations: 4 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.2913, allocations: 17.72 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2915, allocations: 310.8 kB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.2915, allocations: 7.984 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-05/0.2916, allocations: 21.72 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.2916, allocations: 29.7 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2917, allocations: 3.938 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.2918, allocations: 65.55 kB / 412.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2918, allocations: 4 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2918, allocations: 4 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2918, allocations: 0 / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.2919, allocations: 4 kB / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2919, allocations: 64 / 412.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.2919, allocations: 12 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.292, allocations: 0 / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.33e-05/0.2921, allocations: 121.8 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.2921, allocations: 41.66 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2922, allocations: 7.828 kB / 413 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2922, allocations: 7.984 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2922, allocations: 0 / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2922, allocations: 3.938 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.2924, allocations: 173.6 kB / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2924, allocations: 0 / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.2924, allocations: 11.92 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2925, allocations: 4 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.2925, allocations: 3.938 kB / 413.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2925, allocations: 0 / 413.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2925, allocations: 0 / 413.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2927, allocations: 156.3 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.2927, allocations: 93.05 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2928, allocations: 4 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.2928, allocations: 3.984 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.2929, allocations: 4 kB / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2929, allocations: 0 / 413.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.51e-05/0.2929, allocations: 106.6 kB / 413.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2929, allocations: 0 / 413.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.2932, allocations: 4.031 kB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005137/0.2937, allocations: 0.6936 MB / 414.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.2938, allocations: 27.95 kB / 414.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2939, allocations: 0 / 414.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.2939, allocations: 8 kB / 414.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2942, allocations: 12.02 kB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2956, allocations: 1.268 MB / 415.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.296, allocations: 0.6885 MB / 416.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.296, allocations: 0 / 416.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.296, allocations: 15.44 kB / 416.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.296, allocations: 0 / 416.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.3178, allocations: 1.391 MB / 417.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.119, allocations: 7.609 kB / 417.7 MB, free: 8.387 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1)