Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.008228/0.008228, allocations: 111.1 kB / 21.97 MB, free: 5.25 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.002228/0.002228, allocations: 205.1 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2304, allocations: 49.17 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002923/0.2333, allocations: 2.612 MB / 399.8 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2355, allocations: 1.298 MB / 401 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2356, allocations: 8.562 kB / 401.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.2358, allocations: 74.34 kB / 401.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.2359, allocations: 66.55 kB / 401.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.2365, allocations: 246.7 kB / 401.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.2383, allocations: 2.101 MB / 403.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006595/0.2389, allocations: 0.509 MB / 404 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.2412, allocations: 2.134 MB / 406.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.2426, allocations: 1.112 MB / 407.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.243, allocations: 217.2 kB / 407.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.2434, allocations: 216.6 kB / 407.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000602/0.244, allocations: 0.6397 MB / 408.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009927/0.245, allocations: 0.8945 MB / 409.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.2485, allocations: 4.418 MB / 413.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2485, allocations: 0 / 413.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2485, allocations: 0 / 413.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.718e-05/0.2485, allocations: 0 / 413.7 MB, free: 15.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.005039/0.2536, allocations: 2.273 MB / 415.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.2536, allocations: 17.05 kB / 416 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.87e-05/0.2537, allocations: 37.47 kB / 416 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004375/0.2541, allocations: 201.5 kB / 416.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.2547, allocations: 177.5 kB / 416.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.2568, allocations: 1.005 MB / 417.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.2569, allocations: 104.8 kB / 417.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.2573, allocations: 122 kB / 417.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/0.2615, allocations: 2.288 MB / 419.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.2615, allocations: 1.281 kB / 419.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.2618, allocations: 58.05 kB / 419.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.2618, allocations: 31.16 kB / 420 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003866/0.2657, allocations: 1.986 MB / 422 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009792/0.2754, allocations: 4.767 MB / 426.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003755/0.2792, allocations: 1.789 MB / 428.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.2807, allocations: 0.7191 MB / 429.2 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.2808, allocations: 21.28 kB / 429.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002252/0.2831, allocations: 1.356 MB / 430.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.257e-06/0.2831, allocations: 3.938 kB / 430.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005426/0.2885, allocations: 2.674 MB / 433.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.2886, allocations: 98.42 kB / 433.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.2903, allocations: 0.9411 MB / 434.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002991/0.2906, allocations: 101.7 kB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/0.2911, allocations: 466.2 kB / 434.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005624/0.2917, allocations: 321.7 kB / 435.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.2931, allocations: 0.6673 MB / 435.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.2934, allocations: 406.7 kB / 436.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.2952, allocations: 0.8666 MB / 437.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.2971, allocations: 1.039 MB / 438.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.3006, allocations: 1.957 MB / 440.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.3006, allocations: 4 kB / 440.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004746/0.3054, allocations: 2.392 MB / 442.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.3054, allocations: 41.73 kB / 442.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3054, allocations: 4 kB / 442.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.3054, allocations: 8 kB / 442.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.306, allocations: 223.6 kB / 442.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.306, allocations: 15.88 kB / 442.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000762/0.3068, allocations: 87.64 kB / 442.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/0.3079, allocations: 1.093 MB / 444 MB, free: 4.043 MB / 350.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.00207/0.31, allocations: 0.9002 MB / 444.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005874/0.3106, allocations: 107.3 kB / 445 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.311, allocations: 134.3 kB / 445.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.311, allocations: 15.98 kB / 445.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.311, allocations: 7.875 kB / 445.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.311, allocations: 7.984 kB / 445.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.3145, allocations: 1.731 MB / 446.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.3145, allocations: 7.984 kB / 446.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.3151, allocations: 203.7 kB / 447.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/0.3151, allocations: 4 kB / 447.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004398/0.3155, allocations: 175.9 kB / 447.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.3155, allocations: 4 kB / 447.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.3156, allocations: 7.938 kB / 447.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.3204, allocations: 2.038 MB / 449.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.322, allocations: 0.5984 MB / 449.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006499/0.3227, allocations: 119.9 kB / 450 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.3234, allocations: 47.97 kB / 450.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/0.3241, allocations: 340.8 kB / 450.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001182/0.3253, allocations: 1.085 MB / 451.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.3263, allocations: 0.6004 MB / 452.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3263, allocations: 0 / 452.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001869/0.3282, allocations: 383.4 kB / 452.5 MB, free: 11.45 MB / 366.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.004897/0.3331, allocations: 2.838 MB / 455.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004106/0.3372, allocations: 1.999 MB / 457.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.3372, allocations: 0 / 457.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.3393, allocations: 1.053 MB / 458.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/0.3439, allocations: 1.07 MB / 459.4 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/0.3677, allocations: 11.7 MB / 471.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.3693, allocations: 1.324 MB / 472.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.007721/0.3771, allocations: 3.367 MB / 475.8 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004335/0.3814, allocations: 1.251 MB / 477.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3814, allocations: 0 / 477.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.086/0.4674, allocations: 50.81 MB / 0.5155 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.45, allocations: 4.062 kB / 0.5155 GB, free: 14.64 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.66890060895821] 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'] 12.622821538010612 12.637031785 12.385679319 Calling exit ...