Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001178/0.001178, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001333/0.001333, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 378.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 53.39 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004115/0.3136, allocations: 2.395 MB / 434.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.3166, allocations: 1.22 MB / 435.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.3167, allocations: 7.938 kB / 435.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.317, allocations: 71.36 kB / 435.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.3172, allocations: 71.25 kB / 435.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.3179, allocations: 255.6 kB / 435.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.3199, allocations: 2.1 MB / 438 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.3207, allocations: 0.4952 MB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.3235, allocations: 2.137 MB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.3251, allocations: 1.117 MB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005182/0.3257, allocations: 216 kB / 442 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.3261, allocations: 220 kB / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008234/0.327, allocations: 0.6308 MB / 442.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.328, allocations: 0.7113 MB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.3324, allocations: 4.432 MB / 448 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3324, allocations: 0 / 448 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3324, allocations: 4 kB / 448 MB, free: 6.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.077e-05/0.3325, allocations: 0 / 448 MB, free: 6.355 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.006104/0.3386, allocations: 2.272 MB / 450.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.3387, allocations: 8.031 kB / 450.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.12e-05/0.3387, allocations: 34.72 kB / 450.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003856/0.3391, allocations: 202.2 kB / 450.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004812/0.3396, allocations: 179.8 kB / 450.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.3415, allocations: 1.012 MB / 451.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.3416, allocations: 102.9 kB / 451.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/0.342, allocations: 132.3 kB / 451.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004433/0.3464, allocations: 2.31 MB / 454.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3464, allocations: 0 / 454.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.3467, allocations: 52 kB / 454.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.3467, allocations: 28 kB / 454.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003991/0.3507, allocations: 2.014 MB / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008447/0.3592, allocations: 4.346 MB / 460.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/0.3628, allocations: 1.822 MB / 462.5 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.3643, allocations: 0.7481 MB / 463.2 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.3644, allocations: 17.3 kB / 463.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002336/0.3668, allocations: 1.388 MB / 464.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.859e-06/0.3668, allocations: 0 / 464.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.00539/0.3722, allocations: 2.724 MB / 467.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/0.3723, allocations: 90.42 kB / 467.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.3738, allocations: 0.9489 MB / 468.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.374, allocations: 97.66 kB / 468.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.3745, allocations: 474.1 kB / 468.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/0.375, allocations: 329.7 kB / 469.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.3761, allocations: 0.6673 MB / 469.9 MB, free: 76 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.3763, allocations: 402.7 kB / 470.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.3779, allocations: 0.8917 MB / 471.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.3797, allocations: 1.075 MB / 472.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.3832, allocations: 1.949 MB / 474.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3832, allocations: 0 / 474.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004638/0.3879, allocations: 2.432 MB / 476.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.3879, allocations: 33.7 kB / 476.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.388, allocations: 4 kB / 476.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/0.388, allocations: 12 kB / 476.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.3886, allocations: 227.5 kB / 476.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.3886, allocations: 8.625 kB / 476.9 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.3893, allocations: 91.67 kB / 477 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/0.3904, allocations: 1.085 MB / 478.1 MB, free: 7.742 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.001701/0.3921, allocations: 0.9079 MB / 479 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.3925, allocations: 107.3 kB / 479.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.3928, allocations: 130.3 kB / 479.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.3928, allocations: 20 kB / 479.3 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.3928, allocations: 0 / 479.3 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.3928, allocations: 11.91 kB / 479.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.3952, allocations: 1.512 MB / 480.8 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3952, allocations: 3.938 kB / 480.8 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.3956, allocations: 203.7 kB / 481 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.3956, allocations: 4 kB / 481 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/0.3959, allocations: 175.9 kB / 481.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.3959, allocations: 4 kB / 481.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3959, allocations: 4 kB / 481.2 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.3998, allocations: 2.071 MB / 483.3 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.401, allocations: 0.5946 MB / 483.9 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/0.4015, allocations: 123.9 kB / 484 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.4019, allocations: 47.97 kB / 484 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007541/0.4027, allocations: 336.9 kB / 484.3 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001083/0.4038, allocations: 1.089 MB / 485.4 MB, free: 320 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008062/0.4046, allocations: 0.5965 MB / 486 MB, free: 15.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4046, allocations: 0 / 486 MB, free: 15.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001378/0.406, allocations: 383.4 kB / 486.4 MB, free: 15.34 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.004598/0.4106, allocations: 2.874 MB / 489.3 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004031/0.4146, allocations: 2.051 MB / 491.3 MB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4146, allocations: 0 / 491.3 MB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.4167, allocations: 1.074 MB / 492.4 MB, free: 9.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/0.4207, allocations: 1.073 MB / 493.5 MB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.4422, allocations: 11.84 MB / 0.4935 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.4433, allocations: 0.7276 MB / 0.4942 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007258/0.4505, allocations: 3.374 MB / 0.4975 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003754/0.4543, allocations: 1.243 MB / 0.4987 GB, free: 6.758 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4543, allocations: 0 / 0.4987 GB, free: 6.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/0.7613, allocations: 52.58 MB / 0.55 GB, free: 100.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.22, allocations: 1.016 kB / 0.5501 GB, free: 100.1 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.678585233981721] 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.397679434972815 13.413858775 13.077963488 Calling exit ...