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.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 118.3 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 201.2 kB / 18.74 MB, free: 4.18 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.22 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.002054/0.002054, allocations: 63.89 kB / 358.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2754, allocations: 50.54 MB / 409.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003632/0.2791, allocations: 1.887 MB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.2814, allocations: 1.297 MB / 412.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2816, allocations: 4 kB / 412.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.282, allocations: 71.61 kB / 412.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.2824, allocations: 131.4 kB / 412.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.2832, allocations: 234.4 kB / 412.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.2835, allocations: 183.5 kB / 412.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2837, allocations: 29.53 kB / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2838, allocations: 75.69 kB / 413 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.2839, allocations: 79.62 kB / 413 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.284, allocations: 12 kB / 413 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.2842, allocations: 71.94 kB / 413.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.2843, allocations: 51.78 kB / 413.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.2844, allocations: 79.47 kB / 413.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.2848, allocations: 241.9 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2848, allocations: 0 / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2848, allocations: 0 / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2848, allocations: 0 / 413.5 MB, free: 13 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008098/0.2856, allocations: 0.5426 MB / 414 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2857, allocations: 12.03 kB / 414 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.2857, allocations: 38.75 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.2858, allocations: 24.8 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.2863, allocations: 295.7 kB / 414.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2863, allocations: 4.375 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.2863, allocations: 7.938 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.2867, allocations: 166.6 kB / 414.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2867, allocations: 0 / 414.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2867, allocations: 4 kB / 414.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2867, allocations: 4 kB / 414.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.2869, allocations: 35.91 kB / 414.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.2876, allocations: 390.3 kB / 415 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.2879, allocations: 123.9 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.288, allocations: 46.56 kB / 415.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.2881, allocations: 4 kB / 415.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.2882, allocations: 75.38 kB / 415.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.2883, allocations: 4 kB / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004218/0.2887, allocations: 157.4 kB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.2888, allocations: 154.2 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.2892, allocations: 338.6 kB / 415.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2893, allocations: 33.64 kB / 415.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2894, allocations: 132.1 kB / 416 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.2894, allocations: 16.16 kB / 416 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.2895, allocations: 37.7 kB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2897, allocations: 330.8 kB / 416.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.2897, allocations: 23.98 kB / 416.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2899, allocations: 90.81 kB / 416.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.2901, allocations: 84.22 kB / 416.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2901, allocations: 0 / 416.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002628/0.2903, allocations: 125.5 kB / 416.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2904, allocations: 10.62 kB / 416.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2904, allocations: 0 / 416.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2904, allocations: 4 kB / 416.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2905, allocations: 23.92 kB / 416.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2905, allocations: 0 / 416.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.2906, allocations: 15.88 kB / 416.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2906, allocations: 4 kB / 416.8 MB, free: 9.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002974/0.2909, allocations: 154.1 kB / 416.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2911, allocations: 73.45 kB / 417 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.2911, allocations: 33.73 kB / 417 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2911, allocations: 4 kB / 417 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2911, allocations: 0 / 417 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.2912, allocations: 7.938 kB / 417 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.2914, allocations: 245.5 kB / 417.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2914, allocations: 0 / 417.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.2915, allocations: 15.88 kB / 417.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.2915, allocations: 7.984 kB / 417.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2915, allocations: 0 / 417.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2915, allocations: 4.062 kB / 417.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2916, allocations: 4 kB / 417.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.2918, allocations: 162.5 kB / 417.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.292, allocations: 113 kB / 417.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.292, allocations: 7.984 kB / 417.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.2921, allocations: 8 kB / 417.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.2922, allocations: 15.92 kB / 417.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2922, allocations: 4 kB / 417.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.2924, allocations: 241.9 kB / 417.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2925, allocations: 0 / 417.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.2927, allocations: 39.92 kB / 417.9 MB, free: 8.113 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002083/0.2948, allocations: 1.025 MB / 418.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.2951, allocations: 71.84 kB / 419 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.2951, allocations: 0 / 419 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.2952, allocations: 31.92 kB / 419 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.2957, allocations: 66.75 kB / 419.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.2984, allocations: 2.221 MB / 421.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.2989, allocations: 0.7397 MB / 422 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.299, allocations: 25.53 kB / 422.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.2991, allocations: 63.41 kB / 422.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2991, allocations: 0 / 422.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3285, allocations: 5.335 MB / 427.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.664, allocations: 7.938 kB / 427.5 MB, free: 14.68 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_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_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1)