Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 108.6 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003684/0.2597, allocations: 2.62 MB / 426 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.2622, allocations: 1.243 MB / 427.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2624, allocations: 7.938 kB / 427.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2626, allocations: 79.3 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2627, allocations: 63.33 kB / 427.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.2633, allocations: 247.7 kB / 427.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.2654, allocations: 2.108 MB / 429.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.2661, allocations: 0.5069 MB / 430.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2686, allocations: 2.129 MB / 432.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.2704, allocations: 1.117 MB / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006155/0.271, allocations: 220 kB / 433.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.2714, allocations: 220 kB / 434 MB, free: 4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006979/0.2721, allocations: 0.6308 MB / 434.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.2732, allocations: 0.8979 MB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.2774, allocations: 4.412 MB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2774, allocations: 0 / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2774, allocations: 0 / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-05/0.2775, allocations: 0 / 439.9 MB, free: 14.04 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.004692/0.2822, allocations: 2.275 MB / 442.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2822, allocations: 12.03 kB / 442.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.921e-05/0.2822, allocations: 30.72 kB / 442.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000387/0.2826, allocations: 202.2 kB / 442.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.2831, allocations: 179.9 kB / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.2849, allocations: 1.005 MB / 443.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.285, allocations: 102.8 kB / 443.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.2854, allocations: 124.4 kB / 443.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/0.2894, allocations: 2.293 MB / 446.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.2895, allocations: 0 / 446.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.2897, allocations: 48 kB / 446.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.2897, allocations: 32 kB / 446.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/0.2934, allocations: 1.981 MB / 448.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008578/0.302, allocations: 4.771 MB / 452.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.3058, allocations: 1.797 MB / 454.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.3073, allocations: 0.7229 MB / 455.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.3074, allocations: 17.22 kB / 455.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00234/0.3098, allocations: 1.352 MB / 456.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.3098, allocations: 4 kB / 456.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005717/0.3155, allocations: 2.67 MB / 459.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.3156, allocations: 94.42 kB / 459.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.3174, allocations: 0.9489 MB / 460.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002817/0.3176, allocations: 101.7 kB / 460.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/0.3182, allocations: 474.1 kB / 461.1 MB, free: 8.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/0.3187, allocations: 317.8 kB / 461.4 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.32, allocations: 0.6673 MB / 462.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.3202, allocations: 402.7 kB / 462.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.322, allocations: 0.8743 MB / 463.4 MB, free: 6.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.3238, allocations: 1.031 MB / 464.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.3273, allocations: 1.953 MB / 466.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.3273, allocations: 8 kB / 466.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00462/0.3319, allocations: 2.396 MB / 468.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.332, allocations: 33.7 kB / 468.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.332, allocations: 0 / 468.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.332, allocations: 12 kB / 468.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.3325, allocations: 227.6 kB / 469 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-05/0.3325, allocations: 19.91 kB / 469 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.3333, allocations: 87.64 kB / 469.1 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/0.3344, allocations: 1.093 MB / 470.2 MB, free: 15.34 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.001592/0.336, allocations: 0.9041 MB / 471.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.3364, allocations: 107.3 kB / 471.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.3367, allocations: 130.3 kB / 471.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3367, allocations: 12 kB / 471.4 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3367, allocations: 3.938 kB / 471.4 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.3367, allocations: 7.969 kB / 471.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.3394, allocations: 1.73 MB / 473.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3394, allocations: 0 / 473.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.3398, allocations: 203.7 kB / 473.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.3399, allocations: 8 kB / 473.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/0.3402, allocations: 175.9 kB / 473.5 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.3402, allocations: 4 kB / 473.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3402, allocations: 7.875 kB / 473.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/0.3441, allocations: 2.038 MB / 475.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.3455, allocations: 0.6063 MB / 476.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004917/0.346, allocations: 119.9 kB / 476.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.3465, allocations: 47.97 kB / 476.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/0.3472, allocations: 336.9 kB / 476.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00115/0.3484, allocations: 1.085 MB / 477.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008547/0.3492, allocations: 0.5927 MB / 478.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3492, allocations: 0 / 478.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001447/0.3507, allocations: 379.3 kB / 478.7 MB, free: 6.77 MB / 382.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.004983/0.3557, allocations: 2.853 MB / 481.5 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003917/0.3596, allocations: 1.991 MB / 483.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3596, allocations: 8 kB / 483.5 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.3616, allocations: 1.057 MB / 484.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/0.3655, allocations: 1.067 MB / 485.6 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.3856, allocations: 11.72 MB / 497.4 MB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.3869, allocations: 1.324 MB / 498.7 MB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.006579/0.3935, allocations: 3.367 MB / 0.4903 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003681/0.3972, allocations: 1.243 MB / 0.4915 GB, free: 13.89 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3972, allocations: 0 / 0.4915 GB, free: 13.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2766/0.6738, allocations: 50.81 MB / 0.5411 GB, free: 113 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.89, allocations: 6.688 kB / 0.5411 GB, free: 113 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.22947312501492] 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.06615949299885 13.077714111 12.797826581 Calling exit ...