Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001729/0.001729, 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.001916/0.001916, allocations: 201.2 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.526/1.526, 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.001939/0.001939, allocations: 63.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3113, allocations: 50.56 MB / 409.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003137/0.3145, allocations: 1.558 MB / 410.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3157, allocations: 0.5569 MB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3159, allocations: 0 / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.909e-05/0.316, allocations: 7.875 kB / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3161, allocations: 11.92 kB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.3166, allocations: 67.75 kB / 411.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3167, allocations: 47.78 kB / 411.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3168, allocations: 16.17 kB / 411.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.317, allocations: 27.92 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.317, allocations: 19.86 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3171, allocations: 4 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-05/0.3171, allocations: 4 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.3172, allocations: 19.92 kB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3172, allocations: 31.8 kB / 411.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3174, allocations: 62.67 kB / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3174, allocations: 0 / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.3174, allocations: 0 / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3174, allocations: 3.938 kB / 411.5 MB, free: 14.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005206/0.318, allocations: 387 kB / 411.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.318, allocations: 11.97 kB / 411.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.3181, allocations: 34.75 kB / 411.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.3182, allocations: 24.88 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.3186, allocations: 196.2 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3186, allocations: 4.359 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3186, allocations: 4.375 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3189, allocations: 113 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3189, allocations: 3.938 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3189, allocations: 0 / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3189, allocations: 4 kB / 412.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.319, allocations: 19.92 kB / 412.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.3194, allocations: 261.8 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.82e-05/0.3195, allocations: 45.16 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.3196, allocations: 21.77 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3196, allocations: 0 / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3196, allocations: 34.56 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3196, allocations: 4 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002582/0.3199, allocations: 65.56 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.32, allocations: 81.11 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3201, allocations: 141.8 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3201, allocations: 25.7 kB / 412.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.3202, allocations: 92.12 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3202, allocations: 8.203 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.3203, allocations: 21.66 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3204, allocations: 318.8 kB / 413.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.3205, allocations: 12 kB / 413.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.3205, allocations: 17.7 kB / 413.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.3206, allocations: 33.77 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3206, allocations: 0 / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001211/0.3208, allocations: 57.58 kB / 413.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3208, allocations: 4 kB / 413.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3208, allocations: 0 / 413.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3208, allocations: 4 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.3209, allocations: 7.984 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3209, allocations: 0 / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.321, allocations: 8.062 kB / 413.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.321, allocations: 4 kB / 413.5 MB, free: 12.64 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: 0 () * 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 0.0001013/0.3211, allocations: 121.8 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.3211, allocations: 41.59 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.3212, allocations: 15.83 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3212, allocations: 0 / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3212, allocations: 0 / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3212, allocations: 3.938 kB / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3214, allocations: 181.6 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3214, allocations: 0 / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.3215, allocations: 7.984 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3215, allocations: 0 / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3215, allocations: 0 / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3215, allocations: 0 / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3215, allocations: 4 kB / 413.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3217, allocations: 164.2 kB / 414 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.3218, allocations: 93.05 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3218, allocations: 4 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.3219, allocations: 0 / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3219, allocations: 4 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3219, allocations: 0 / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.322, allocations: 109.1 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3221, allocations: 0 / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3223, allocations: 8 kB / 414.3 MB, free: 11.79 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: 0 () * 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.0005019/0.3228, allocations: 0.6937 MB / 415 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.323, allocations: 28.02 kB / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.323, allocations: 0 / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.323, allocations: 11.98 kB / 415 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3234, allocations: 13.53 kB / 415 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.3248, allocations: 1.332 MB / 416.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3252, allocations: 0.6885 MB / 417 MB, free: 8.883 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.936e-05/0.3253, allocations: 7.984 kB / 417 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.3253, allocations: 15.42 kB / 417.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3253, allocations: 0 / 417.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.3506, allocations: 1.579 MB / 418.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.489/8.839, allocations: 7.797 kB / 418.6 MB, free: 7.418 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)