Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001521/0.001521, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.5 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.102, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003827/0.1059, allocations: 2.612 MB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.1085, allocations: 1.282 MB / 430.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1086, allocations: 7.938 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1088, allocations: 67.36 kB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1089, allocations: 79.31 kB / 431.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.1095, allocations: 239.6 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1982/0.3077, allocations: 2.061 MB / 433.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008615/0.3086, allocations: 0.7315 MB / 434.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.3109, allocations: 2.121 MB / 436.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.3125, allocations: 1.115 MB / 437.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.313, allocations: 216.9 kB / 437.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.3134, allocations: 217.6 kB / 437.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006412/0.3141, allocations: 0.634 MB / 438.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.3152, allocations: 0.9002 MB / 439.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.3204, allocations: 4.41 MB / 443.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3204, allocations: 3.938 kB / 443.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3204, allocations: 0 / 443.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.3205, allocations: 1.125 kB / 443.7 MB, free: 5.375 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.007072/0.3276, allocations: 2.345 MB / 446 MB, free: 4.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3276, allocations: 10.03 kB / 446 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004959/0.3281, allocations: 200.5 kB / 446.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005726/0.3287, allocations: 177.2 kB / 446.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.3304, allocations: 1.069 MB / 447.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/0.3305, allocations: 101 kB / 447.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.3308, allocations: 122.5 kB / 447.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004317/0.3351, allocations: 2.285 MB / 450 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.3352, allocations: 0 / 450 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.3355, allocations: 55 kB / 450 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.3355, allocations: 30.25 kB / 450.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004771/0.3403, allocations: 1.988 MB / 452.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.3521, allocations: 4.803 MB / 456.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.3563, allocations: 1.793 MB / 458.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.3581, allocations: 0.7201 MB / 459.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.3584, allocations: 21.25 kB / 459.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002609/0.361, allocations: 1.359 MB / 460.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.607e-06/0.361, allocations: 0 / 460.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005972/0.367, allocations: 2.67 MB / 463.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.367, allocations: 92.17 kB / 463.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.3688, allocations: 0.9465 MB / 464.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003308/0.3691, allocations: 99.61 kB / 464.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.3697, allocations: 476.4 kB / 465 MB, free: 9.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.3702, allocations: 323.7 kB / 465.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/0.3717, allocations: 0.6706 MB / 466 MB, free: 9.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.372, allocations: 410.7 kB / 466.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.3739, allocations: 0.8666 MB / 467.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.376, allocations: 1.035 MB / 468.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.3798, allocations: 1.962 MB / 470.3 MB, free: 4.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.3799, allocations: 1.781 kB / 470.3 MB, free: 4.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005081/0.3849, allocations: 2.399 MB / 472.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.385, allocations: 33.7 kB / 472.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.385, allocations: 4 kB / 472.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.385, allocations: 11.09 kB / 472.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/0.3857, allocations: 231.5 kB / 472.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/0.3857, allocations: 12.62 kB / 473 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008861/0.3866, allocations: 79.69 kB / 473 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/0.3879, allocations: 1.093 MB / 474.1 MB, free: 0.8242 MB / 366.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.002007/0.3899, allocations: 0.9019 MB / 475 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/0.3905, allocations: 111.3 kB / 475.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.3908, allocations: 130.3 kB / 475.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.3909, allocations: 16 kB / 475.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.3909, allocations: 0 / 475.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.3909, allocations: 7.922 kB / 475.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.3942, allocations: 1.765 MB / 477.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.3942, allocations: 3.938 kB / 477.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.3948, allocations: 207.7 kB / 477.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.3948, allocations: 8 kB / 477.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003873/0.3952, allocations: 178 kB / 477.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.3952, allocations: 4 kB / 477.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3952, allocations: 0 / 477.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004601/0.3998, allocations: 2.038 MB / 479.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.4012, allocations: 0.6524 MB / 480.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006042/0.4018, allocations: 119.9 kB / 480.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.4025, allocations: 43.98 kB / 480.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008019/0.4033, allocations: 340.9 kB / 480.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001293/0.4046, allocations: 1.085 MB / 481.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.4056, allocations: 0.5927 MB / 482.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4056, allocations: 0 / 482.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001842/0.4074, allocations: 379.4 kB / 482.7 MB, free: 8.199 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.005613/0.413, allocations: 2.841 MB / 485.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.4174, allocations: 1.997 MB / 487.5 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4174, allocations: 0 / 487.5 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.42, allocations: 1.049 MB / 488.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00543/0.4254, allocations: 1.076 MB / 489.6 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/0.4487, allocations: 11.74 MB / 0.4896 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.45, allocations: 1.312 MB / 0.4909 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.01357/0.4635, allocations: 3.374 MB / 0.4942 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008553/0.4721, allocations: 1.251 MB / 0.4954 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4721, allocations: 0 / 0.4954 GB, free: 15.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09283/0.5649, allocations: 49.75 MB / 0.544 GB, free: 12.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.502/10.07, allocations: 10.33 kB / 0.544 GB, free: 12.84 MB / 462.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0178603 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.539124872069806] Failed to read output from testmodel.py, exit status != 0: ['time', 'Counter.FF[1].RS1.TD1.x', 'Counter.FF[1].RS2.TD1.x', 'Counter.FF[2].RS1.TD1.x', 'Counter.FF[2].RS2.TD1.x', 'Counter.FF[3].RS1.TD1.x', 'Counter.FF[3].RS2.TD1.x', 'Counter.FF[4].RS1.TD1.x', 'Counter.FF[4].RS2.TD1.x'] 10.155950666870922 10.176164552 9.852813 Calling exit ...