Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001365/0.001365, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001442/0.001442, allocations: 210.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 59.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2845, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004886/0.2893, allocations: 2.624 MB / 434.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2927, allocations: 1.286 MB / 435.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.2929, allocations: 11.88 kB / 435.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.2932, allocations: 71.36 kB / 436 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.2934, allocations: 75.31 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.2942, allocations: 239.7 kB / 436.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.2963, allocations: 2.104 MB / 438.4 MB, free: 272 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.297, allocations: 0.4991 MB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.2999, allocations: 2.133 MB / 441 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.302, allocations: 1.113 MB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005617/0.3026, allocations: 220 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.303, allocations: 220 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008775/0.3039, allocations: 0.6425 MB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.3051, allocations: 0.8941 MB / 444.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.3092, allocations: 4.416 MB / 448.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3092, allocations: 4 kB / 448.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3092, allocations: 0 / 448.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.312e-05/0.3093, allocations: 3.984 kB / 448.5 MB, free: 6.078 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.004583/0.3139, allocations: 2.264 MB / 450.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3139, allocations: 16.03 kB / 450.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.802e-05/0.314, allocations: 30.72 kB / 450.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004111/0.3144, allocations: 206.2 kB / 451 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.3149, allocations: 175.8 kB / 451.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.3169, allocations: 1.016 MB / 452.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.317, allocations: 94.91 kB / 452.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.3173, allocations: 120.4 kB / 452.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.3217, allocations: 2.293 MB / 454.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.3217, allocations: 0 / 454.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.322, allocations: 52 kB / 454.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.322, allocations: 32 kB / 454.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00389/0.3259, allocations: 1.981 MB / 456.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008603/0.3345, allocations: 4.771 MB / 461.5 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.3382, allocations: 1.789 MB / 463.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.3397, allocations: 0.7269 MB / 464.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.3398, allocations: 17.3 kB / 464.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002283/0.3421, allocations: 1.348 MB / 465.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.216e-06/0.3421, allocations: 4 kB / 465.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005335/0.3475, allocations: 2.674 MB / 468.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.3475, allocations: 90.42 kB / 468.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.3491, allocations: 0.9528 MB / 469.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.3494, allocations: 101.7 kB / 469.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.3499, allocations: 470.2 kB / 469.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/0.3503, allocations: 333.6 kB / 470 MB, free: 292 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.3514, allocations: 0.6634 MB / 470.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.3517, allocations: 402.7 kB / 471.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.3533, allocations: 0.8666 MB / 471.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.3551, allocations: 1.047 MB / 473 MB, free: 13.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.3584, allocations: 1.949 MB / 474.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3584, allocations: 4 kB / 474.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004491/0.3629, allocations: 2.404 MB / 477.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.363, allocations: 29.7 kB / 477.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.363, allocations: 4 kB / 477.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.363, allocations: 8 kB / 477.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.3635, allocations: 227.6 kB / 477.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.3636, allocations: 19.91 kB / 477.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/0.3642, allocations: 79.75 kB / 477.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/0.3654, allocations: 1.093 MB / 478.8 MB, free: 7.379 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.001687/0.3671, allocations: 0.904 MB / 479.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.3675, allocations: 111.3 kB / 479.8 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.3677, allocations: 126.3 kB / 479.9 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.3678, allocations: 12 kB / 480 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/0.3678, allocations: 11.92 kB / 480 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3678, allocations: 3.984 kB / 480 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.3704, allocations: 1.73 MB / 481.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3705, allocations: 3.938 kB / 481.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.3709, allocations: 207.7 kB / 481.9 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.3709, allocations: 8 kB / 481.9 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/0.3712, allocations: 175.9 kB / 482.1 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3712, allocations: 4 kB / 482.1 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3712, allocations: 3.938 kB / 482.1 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.3751, allocations: 2.034 MB / 484.1 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.3765, allocations: 0.6063 MB / 484.7 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/0.3769, allocations: 115.9 kB / 484.8 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.3774, allocations: 47.97 kB / 484.9 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006768/0.3781, allocations: 336.9 kB / 485.2 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001071/0.3792, allocations: 1.085 MB / 486.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007777/0.3799, allocations: 0.5927 MB / 486.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3799, allocations: 0 / 486.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001369/0.3813, allocations: 387.4 kB / 487.3 MB, free: 14.8 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.004633/0.3859, allocations: 2.853 MB / 490.1 MB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003788/0.3897, allocations: 1.982 MB / 492.1 MB, free: 9.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3897, allocations: 4.062 kB / 492.1 MB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.3916, allocations: 1.057 MB / 493.2 MB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/0.3955, allocations: 1.068 MB / 494.2 MB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/0.4194, allocations: 11.72 MB / 0.4941 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.4212, allocations: 1.324 MB / 0.4954 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007723/0.429, allocations: 3.367 MB / 0.4987 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003789/0.4328, allocations: 1.247 MB / 0.4999 GB, free: 5.914 MB / 414.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4328, allocations: 0 / 0.4999 GB, free: 5.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3307/0.7635, allocations: 50.8 MB / 0.5495 GB, free: 100.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.11, allocations: 4.719 kB / 0.5495 GB, free: 100.2 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.639572184009012] 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'] 13.286263554997277 13.295249417 12.983563135 Calling exit ...