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.001929/0.001929, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002365/0.002365, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001914/0.001914, allocations: 63.89 kB / 378.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2706, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003998/0.2746, allocations: 2.622 MB / 434.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.2774, allocations: 1.29 MB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.2776, allocations: 11.88 kB / 435.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.2778, allocations: 67.36 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.278, allocations: 75.31 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.2787, allocations: 247.6 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.2808, allocations: 2.1 MB / 438.3 MB, free: 500 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008094/0.2816, allocations: 0.4991 MB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.2842, allocations: 2.133 MB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.286, allocations: 1.117 MB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000498/0.2865, allocations: 220 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.2869, allocations: 216 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007038/0.2876, allocations: 0.6308 MB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.2888, allocations: 0.894 MB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.293, allocations: 4.424 MB / 448.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.293, allocations: 0 / 448.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.293, allocations: 0 / 448.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.922e-05/0.2931, allocations: 4 kB / 448.5 MB, free: 6.312 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.004379/0.2975, allocations: 2.272 MB / 450.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.2975, allocations: 8.031 kB / 450.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003877/0.2979, allocations: 198.2 kB / 450.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.2984, allocations: 175.9 kB / 451.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.3004, allocations: 1.012 MB / 452.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.3005, allocations: 98.89 kB / 452.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.3008, allocations: 124.3 kB / 452.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.305, allocations: 2.285 MB / 454.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.305, allocations: 0 / 454.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.3052, allocations: 52.05 kB / 454.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.3053, allocations: 32 kB / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003884/0.3091, allocations: 1.989 MB / 456.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008449/0.3176, allocations: 4.763 MB / 461.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.3211, allocations: 1.797 MB / 463.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.3224, allocations: 0.7191 MB / 464 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.3227, allocations: 25.28 kB / 464 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002084/0.3248, allocations: 1.359 MB / 465.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.3248, allocations: 0 / 465.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005061/0.3298, allocations: 2.666 MB / 468 MB, free: 2.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.3299, allocations: 94.41 kB / 468.1 MB, free: 2.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.3312, allocations: 0.9489 MB / 469.1 MB, free: 1.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.3315, allocations: 97.66 kB / 469.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.3319, allocations: 478.1 kB / 469.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.3323, allocations: 321.7 kB / 469.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009807/0.3333, allocations: 0.6674 MB / 470.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.3335, allocations: 410.7 kB / 471 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.3351, allocations: 0.8626 MB / 471.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.3368, allocations: 1.047 MB / 472.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.3402, allocations: 1.957 MB / 474.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3402, allocations: 0 / 474.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004258/0.3444, allocations: 2.404 MB / 477.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.3445, allocations: 33.7 kB / 477.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3445, allocations: 0 / 477.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.3445, allocations: 12 kB / 477.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.345, allocations: 231.5 kB / 477.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.345, allocations: 8 kB / 477.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.3457, allocations: 79.69 kB / 477.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/0.3467, allocations: 1.089 MB / 478.7 MB, free: 7.648 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.001606/0.3483, allocations: 0.9079 MB / 479.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.3486, allocations: 107.3 kB / 479.7 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.3489, allocations: 138.3 kB / 479.9 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3489, allocations: 12 kB / 479.9 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3489, allocations: 7.938 kB / 479.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3489, allocations: 7.922 kB / 479.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.3515, allocations: 1.723 MB / 481.6 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3515, allocations: 0 / 481.6 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.352, allocations: 207.7 kB / 481.8 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.352, allocations: 7.984 kB / 481.8 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.3523, allocations: 175.9 kB / 482 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.3523, allocations: 4 kB / 482 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3523, allocations: 0 / 482 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/0.3562, allocations: 2.038 MB / 484 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.3575, allocations: 0.6024 MB / 484.6 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/0.3579, allocations: 119.9 kB / 484.8 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.3583, allocations: 51.97 kB / 484.8 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006854/0.359, allocations: 340.8 kB / 485.1 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001133/0.3601, allocations: 1.089 MB / 486.2 MB, free: 32 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009013/0.361, allocations: 0.5927 MB / 486.8 MB, free: 15.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.361, allocations: 0 / 486.8 MB, free: 15.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001561/0.3626, allocations: 379.4 kB / 487.2 MB, free: 15.07 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.004691/0.3673, allocations: 2.845 MB / 490 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003854/0.3711, allocations: 1.999 MB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3711, allocations: 3.938 kB / 492 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.3731, allocations: 1.049 MB / 493.1 MB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/0.3767, allocations: 1.073 MB / 494.2 MB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.3973, allocations: 11.71 MB / 0.494 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.3986, allocations: 1.32 MB / 0.4953 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00692/0.4055, allocations: 3.367 MB / 0.4986 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00353/0.4091, allocations: 1.251 MB / 0.4998 GB, free: 6.203 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4091, allocations: 0 / 0.4998 GB, free: 6.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3042/0.7133, allocations: 50.67 MB / 0.5493 GB, free: 100.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.558/10.27, allocations: 12.73 kB / 0.5493 GB, free: 100.9 MB / 446.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 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: 12.729140060953796] 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.392008633818477 10.412706454 10.11542985 Calling exit ...