Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 201.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.039 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 43.92 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003966/0.2576, allocations: 2.623 MB / 434.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.2603, allocations: 1.294 MB / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2605, allocations: 11.94 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2607, allocations: 63.38 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.2608, allocations: 71.31 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.2615, allocations: 243.6 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.2635, allocations: 2.1 MB / 438.3 MB, free: 464 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000784/0.2642, allocations: 0.4991 MB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.2667, allocations: 2.136 MB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.2685, allocations: 1.117 MB / 442.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005369/0.2691, allocations: 220 kB / 442.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.2695, allocations: 216 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008258/0.2703, allocations: 0.6347 MB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.2716, allocations: 0.8979 MB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.2757, allocations: 4.412 MB / 448.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.2757, allocations: 0 / 448.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2757, allocations: 4 kB / 448.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.301e-05/0.2758, 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.004957/0.2808, allocations: 2.275 MB / 450.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2808, allocations: 8.031 kB / 450.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.215e-05/0.2809, allocations: 34.72 kB / 450.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000561/0.2814, allocations: 202.2 kB / 451 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.282, allocations: 171.9 kB / 451.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.2845, allocations: 1.016 MB / 452.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.2846, allocations: 98.84 kB / 452.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005331/0.2852, allocations: 120.4 kB / 452.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005197/0.2904, allocations: 2.297 MB / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.2904, allocations: 3.984 kB / 454.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.2907, allocations: 52 kB / 454.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.2907, allocations: 28 kB / 454.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/0.295, allocations: 1.985 MB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00984/0.3048, allocations: 4.767 MB / 461.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/0.3091, allocations: 1.793 MB / 463.3 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.311, allocations: 0.7269 MB / 464 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.3113, allocations: 13.31 kB / 464 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002706/0.314, allocations: 1.355 MB / 465.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.078e-06/0.314, allocations: 0 / 465.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.006308/0.3203, allocations: 2.67 MB / 468.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.3204, allocations: 90.42 kB / 468.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.322, allocations: 0.9567 MB / 469.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004615/0.3225, allocations: 97.66 kB / 469.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.3231, allocations: 474.1 kB / 469.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007392/0.3238, allocations: 325.7 kB / 470 MB, free: 488 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/0.3256, allocations: 0.6712 MB / 470.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003005/0.3259, allocations: 398.7 kB / 471 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.3279, allocations: 0.8666 MB / 471.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.33, allocations: 1.039 MB / 472.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.334, allocations: 1.957 MB / 474.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.334, allocations: 3.938 kB / 474.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005832/0.3398, allocations: 2.4 MB / 477.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.3399, allocations: 37.69 kB / 477.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.3399, allocations: 4 kB / 477.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.3399, allocations: 8.031 kB / 477.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.3407, allocations: 239.6 kB / 477.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.993e-05/0.3407, allocations: 15.92 kB / 477.6 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/0.3416, allocations: 71.77 kB / 477.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001259/0.3429, allocations: 1.093 MB / 478.8 MB, free: 7.562 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.001876/0.3447, allocations: 0.8962 MB / 479.7 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005333/0.3453, allocations: 111.3 kB / 479.8 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.3456, allocations: 130.3 kB / 479.9 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3456, allocations: 15.94 kB / 479.9 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.3456, allocations: 3.938 kB / 479.9 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.3457, allocations: 11.97 kB / 479.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.3487, allocations: 1.73 MB / 481.7 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.3487, allocations: 3.984 kB / 481.7 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.3493, allocations: 211.7 kB / 481.9 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.3493, allocations: 4 kB / 481.9 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/0.3496, allocations: 175.9 kB / 482 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.3497, allocations: 7.938 kB / 482 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.3497, allocations: 3.938 kB / 482.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/0.3547, allocations: 2.038 MB / 484.1 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/0.3562, allocations: 0.5985 MB / 484.7 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006002/0.3568, allocations: 119.9 kB / 484.8 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/0.3575, allocations: 47.92 kB / 484.9 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007428/0.3583, allocations: 340.8 kB / 485.2 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001251/0.3595, allocations: 1.089 MB / 486.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009819/0.3605, allocations: 0.5965 MB / 486.9 MB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3605, allocations: 0 / 486.9 MB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001828/0.3623, allocations: 383.4 kB / 487.2 MB, free: 14.97 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.005787/0.3681, allocations: 2.838 MB / 490.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004257/0.3724, allocations: 1.993 MB / 492.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3724, allocations: 0 / 492.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.3748, allocations: 1.053 MB / 493.1 MB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/0.3795, allocations: 1.075 MB / 494.2 MB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.4068, allocations: 11.71 MB / 0.4941 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.4083, allocations: 1.32 MB / 0.4953 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007882/0.4162, allocations: 3.367 MB / 0.4986 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004769/0.421, allocations: 1.251 MB / 0.4999 GB, free: 6.133 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.421, allocations: 0 / 0.4999 GB, free: 6.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2935/0.7145, allocations: 50.8 MB / 0.5495 GB, free: 100.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.12, allocations: 5.594 kB / 0.5495 GB, free: 100.7 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.495863543008454] 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.293864906998351 13.304843536 13.026513849 Calling exit ...