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.001249/0.001249, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001394/0.001394, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001471/0.001471, allocations: 43.94 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 53.35 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003645/0.2663, allocations: 2.387 MB / 434.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.2689, allocations: 1.224 MB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.2691, allocations: 11.88 kB / 435.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.2693, allocations: 71.31 kB / 435.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.2695, allocations: 71.31 kB / 435.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.2702, allocations: 251.7 kB / 435.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.2722, allocations: 2.1 MB / 438 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.2729, allocations: 0.5011 MB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.2755, allocations: 2.137 MB / 440.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.2773, allocations: 1.117 MB / 441.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005604/0.2779, allocations: 216 kB / 441.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.2784, allocations: 216 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008298/0.2792, allocations: 0.6348 MB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.2803, allocations: 0.7074 MB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.2844, allocations: 4.435 MB / 447.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2844, allocations: 0 / 447.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2844, allocations: 0 / 447.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.983e-05/0.2845, allocations: 0 / 447.9 MB, free: 6.5 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.004219/0.2887, allocations: 2.275 MB / 450.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2888, allocations: 11.97 kB / 450.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.374e-05/0.2888, allocations: 34.72 kB / 450.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003788/0.2892, allocations: 198.2 kB / 450.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.2896, allocations: 171.9 kB / 450.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.2914, allocations: 1.012 MB / 451.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.2915, allocations: 110.9 kB / 451.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.2918, allocations: 124.3 kB / 451.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.2959, allocations: 2.31 MB / 454.2 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.2959, allocations: 0 / 454.2 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.2961, allocations: 55.98 kB / 454.2 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.2962, allocations: 28 kB / 454.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.2998, allocations: 2.01 MB / 456.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007929/0.3078, allocations: 4.354 MB / 460.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.3114, allocations: 1.819 MB / 462.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.3128, allocations: 0.752 MB / 463.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.313, allocations: 17.31 kB / 463.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002179/0.3151, allocations: 1.377 MB / 464.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.569e-06/0.3152, allocations: 0 / 464.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005293/0.3204, allocations: 2.728 MB / 467.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.3205, allocations: 90.42 kB / 467.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.322, allocations: 0.9489 MB / 468.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.3223, allocations: 97.66 kB / 468.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.3228, allocations: 474.2 kB / 468.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/0.3233, allocations: 325.7 kB / 469.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.3245, allocations: 0.6673 MB / 469.9 MB, free: 228 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.3247, allocations: 402.7 kB / 470.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.3264, allocations: 0.9033 MB / 471.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.3282, allocations: 1.068 MB / 472.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.3315, allocations: 1.953 MB / 474.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3316, allocations: 4 kB / 474.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004392/0.3359, allocations: 2.425 MB / 476.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.336, allocations: 33.7 kB / 476.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.336, allocations: 4 kB / 476.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.336, allocations: 8 kB / 476.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.3366, allocations: 227.6 kB / 476.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.3366, allocations: 19.91 kB / 476.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.3373, allocations: 83.7 kB / 477 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/0.3384, allocations: 1.089 MB / 478.1 MB, free: 7.879 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.001582/0.34, allocations: 0.9001 MB / 479 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.3404, allocations: 111.3 kB / 479.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.3406, allocations: 130.3 kB / 479.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3406, allocations: 12 kB / 479.2 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.3407, allocations: 7.938 kB / 479.2 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3407, allocations: 3.984 kB / 479.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.343, allocations: 1.516 MB / 480.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.343, allocations: 0 / 480.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.3435, allocations: 207.7 kB / 481 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.3435, allocations: 4 kB / 481 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.3438, allocations: 175.9 kB / 481.1 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.3438, allocations: 8.078 kB / 481.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3438, allocations: 7.922 kB / 481.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.3476, allocations: 2.063 MB / 483.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.3488, allocations: 0.6024 MB / 483.8 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/0.3493, allocations: 119.9 kB / 483.9 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.3497, allocations: 47.97 kB / 484 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007003/0.3504, allocations: 344.8 kB / 484.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/0.3515, allocations: 1.085 MB / 485.4 MB, free: 460 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008408/0.3524, allocations: 0.5927 MB / 486 MB, free: 15.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3524, allocations: 0 / 486 MB, free: 15.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001326/0.3537, allocations: 383.4 kB / 486.4 MB, free: 15.48 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.004588/0.3583, allocations: 2.874 MB / 489.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003851/0.3621, allocations: 2.043 MB / 491.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3621, allocations: 0 / 491.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.364, allocations: 1.078 MB / 492.4 MB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/0.3678, allocations: 1.069 MB / 493.4 MB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.3871, allocations: 11.85 MB / 0.4934 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000981/0.3881, allocations: 0.7159 MB / 0.4941 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006223/0.3943, allocations: 3.374 MB / 0.4974 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003168/0.3975, allocations: 1.243 MB / 0.4986 GB, free: 6.934 MB / 414.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3975, allocations: 0 / 0.4986 GB, free: 6.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2823/0.6798, allocations: 52.62 MB / 0.55 GB, free: 100.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.25, allocations: 7.188 kB / 0.55 GB, free: 100.6 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.560456274892204] 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.425884799915366 13.435522495 13.14886941 Calling exit ...