Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002018/0.002018, allocations: 68.75 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004181/0.3019, allocations: 2.631 MB / 434.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.3051, allocations: 1.29 MB / 435.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.3054, allocations: 7.938 kB / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3056, allocations: 67.38 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.3058, allocations: 71.31 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.3066, allocations: 259.5 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.309, allocations: 2.096 MB / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009077/0.3099, allocations: 0.4991 MB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.3127, allocations: 2.133 MB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3148, allocations: 1.117 MB / 442.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006325/0.3154, allocations: 216 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.3159, allocations: 216 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008457/0.3168, allocations: 0.6425 MB / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.3181, allocations: 0.8941 MB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.323, allocations: 4.416 MB / 448.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.323, allocations: 0 / 448.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.323, allocations: 0 / 448.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.55e-05/0.3231, allocations: 0 / 448.4 MB, free: 6.277 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.00595/0.329, allocations: 2.271 MB / 450.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3291, allocations: 12.03 kB / 450.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004169/0.3295, allocations: 194.2 kB / 450.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004795/0.33, allocations: 179.9 kB / 451.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.332, allocations: 1.02 MB / 452.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3321, allocations: 94.91 kB / 452.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003982/0.3325, allocations: 124.4 kB / 452.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/0.3368, allocations: 2.289 MB / 454.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3368, allocations: 0 / 454.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.337, allocations: 48 kB / 454.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.337, allocations: 32 kB / 454.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00399/0.341, allocations: 1.985 MB / 456.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009137/0.3502, allocations: 4.771 MB / 461.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.354, allocations: 1.789 MB / 463.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.3555, allocations: 0.7229 MB / 464 MB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.3557, allocations: 17.25 kB / 464 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.358, allocations: 1.359 MB / 465.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.077e-06/0.358, allocations: 0 / 465.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005516/0.3635, allocations: 2.67 MB / 468 MB, free: 2.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3637, allocations: 98.42 kB / 468.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.3653, allocations: 0.9411 MB / 469 MB, free: 1.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.3656, allocations: 101.7 kB / 469.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/0.3662, allocations: 466.2 kB / 469.6 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.3667, allocations: 333.6 kB / 469.9 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.3679, allocations: 0.6673 MB / 470.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.3681, allocations: 418.6 kB / 471 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.3699, allocations: 0.8627 MB / 471.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.3717, allocations: 1.039 MB / 472.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/0.3753, allocations: 1.949 MB / 474.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.3754, allocations: 4 kB / 474.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004593/0.3799, allocations: 2.4 MB / 477.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.38, allocations: 37.7 kB / 477.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.38, allocations: 4 kB / 477.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.3801, allocations: 11.94 kB / 477.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.3806, allocations: 227.5 kB / 477.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.3806, allocations: 11.98 kB / 477.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006893/0.3813, allocations: 79.7 kB / 477.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/0.3825, allocations: 1.085 MB / 478.7 MB, free: 7.613 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * 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.001758/0.3843, allocations: 0.9118 MB / 479.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/0.3846, allocations: 107.3 kB / 479.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.3849, allocations: 138.3 kB / 479.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.3849, allocations: 12 kB / 479.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.3849, allocations: 4 kB / 479.9 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3849, allocations: 7.922 kB / 479.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.3876, allocations: 1.738 MB / 481.6 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3876, allocations: 0 / 481.6 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.3881, allocations: 203.7 kB / 481.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.3881, allocations: 4 kB / 481.8 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002822/0.3884, allocations: 179.9 kB / 482 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.3884, allocations: 4 kB / 482 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3884, allocations: 0 / 482 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.3925, allocations: 2.038 MB / 484 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.3938, allocations: 0.6024 MB / 484.6 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004613/0.3942, allocations: 119.9 kB / 484.8 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.3947, allocations: 47.97 kB / 484.8 MB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007176/0.3954, allocations: 336.9 kB / 485.1 MB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001212/0.3966, allocations: 1.093 MB / 486.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008898/0.3975, allocations: 0.5965 MB / 486.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3975, allocations: 0 / 486.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00141/0.3989, allocations: 383.3 kB / 487.2 MB, free: 15.02 MB / 398.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: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.004821/0.4037, allocations: 2.838 MB / 490 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.4078, allocations: 1.998 MB / 492 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4078, allocations: 0 / 492 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.4098, allocations: 1.053 MB / 493.1 MB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.4137, allocations: 1.074 MB / 494.2 MB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/0.4376, allocations: 11.71 MB / 0.494 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.4394, allocations: 1.316 MB / 0.4953 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.008367/0.4477, allocations: 3.374 MB / 0.4986 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004825/0.4526, allocations: 1.243 MB / 0.4998 GB, free: 6.172 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4526, allocations: 0 / 0.4998 GB, free: 6.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3184/0.7709, allocations: 50.68 MB / 0.5493 GB, free: 100.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.937/10.71, allocations: 2.656 kB / 0.5493 GB, free: 100.8 MB / 446.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0178603 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.248705446720123] Failed to read output from testmodel.py, exit status != 0: ['time', 'Counter.FF[1].RS1.TD1.x', 'Counter.FF[1].RS2.TD1.x', 'Counter.FF[2].RS1.TD1.x', 'Counter.FF[2].RS2.TD1.x', 'Counter.FF[3].RS1.TD1.x', 'Counter.FF[3].RS2.TD1.x', 'Counter.FF[4].RS1.TD1.x', 'Counter.FF[4].RS2.TD1.x'] 10.794139919802547 10.803885609 10.478487449 Calling exit ...