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.001821/0.001821, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.002369/0.002369, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.552/1.552, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.00194/0.00194, allocations: 59.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 53.38 MB / 427.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004141/0.1115, allocations: 2.62 MB / 429.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.1144, allocations: 1.282 MB / 431 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1146, allocations: 7.938 kB / 431 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.1148, allocations: 71.31 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1151, allocations: 67.31 kB / 431.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.1157, allocations: 235.7 kB / 431.3 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2172/0.3329, allocations: 2.071 MB / 433.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.3337, allocations: 0.7247 MB / 434.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.3361, allocations: 2.126 MB / 436.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.3377, allocations: 1.112 MB / 437.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005286/0.3382, allocations: 216.3 kB / 437.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.3387, allocations: 216.6 kB / 437.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006513/0.3393, allocations: 0.6355 MB / 438.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.3403, allocations: 0.9016 MB / 439.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.3452, allocations: 4.407 MB / 443.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3452, allocations: 5.062 kB / 443.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3452, allocations: 0 / 443.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.94e-05/0.3453, allocations: 4 kB / 443.7 MB, free: 5.227 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.005312/0.3506, allocations: 2.346 MB / 446.1 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3507, allocations: 9.344 kB / 446.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.237e-05/0.3507, allocations: 33.91 kB / 446.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004616/0.3512, allocations: 201.1 kB / 446.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.3518, allocations: 177.5 kB / 446.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.3534, allocations: 1.066 MB / 447.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.449e-05/0.3535, allocations: 100.6 kB / 447.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.3539, allocations: 123.4 kB / 447.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/0.3581, allocations: 2.286 MB / 450.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.3581, allocations: 0 / 450.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.3584, allocations: 54.28 kB / 450.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.3584, allocations: 34.61 kB / 450.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.3621, allocations: 1.984 MB / 452.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009675/0.3718, allocations: 4.806 MB / 456.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004436/0.3762, allocations: 1.793 MB / 458.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.3779, allocations: 0.7283 MB / 459.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.3782, allocations: 14.84 kB / 459.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002504/0.3807, allocations: 1.351 MB / 460.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.767e-06/0.3807, allocations: 0.9062 kB / 460.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.006365/0.3871, allocations: 2.671 MB / 463.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3872, allocations: 94.8 kB / 463.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.3893, allocations: 0.959 MB / 464.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003263/0.3897, allocations: 100.1 kB / 464.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005974/0.3903, allocations: 470.5 kB / 465.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.3908, allocations: 326.8 kB / 465.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.3922, allocations: 0.6653 MB / 466.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003265/0.3925, allocations: 406.7 kB / 466.5 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.3947, allocations: 0.8666 MB / 467.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.3966, allocations: 1.039 MB / 468.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.4003, allocations: 1.951 MB / 470.4 MB, free: 4.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.4003, allocations: 4 kB / 470.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004943/0.4052, allocations: 2.397 MB / 472.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.972e-05/0.4053, allocations: 45.72 kB / 472.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.4053, allocations: 4 kB / 472.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.4053, allocations: 8 kB / 472.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.4059, allocations: 227.5 kB / 473 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.4059, allocations: 8 kB / 473 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/0.4068, allocations: 84.31 kB / 473.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/0.4081, allocations: 1.093 MB / 474.2 MB, free: 0.5664 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.001979/0.41, allocations: 0.9001 MB / 475.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/0.4105, allocations: 111.3 kB / 475.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.4109, allocations: 130.3 kB / 475.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.4109, allocations: 12 kB / 475.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/0.4109, allocations: 0 / 475.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.4109, allocations: 17.97 kB / 475.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.4141, allocations: 1.768 MB / 477.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4141, allocations: 0.5625 kB / 477.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/0.4147, allocations: 203.7 kB / 477.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.4147, allocations: 4 kB / 477.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003451/0.4151, allocations: 175.9 kB / 477.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.4151, allocations: 4 kB / 477.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4151, allocations: 0 / 477.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.4196, allocations: 2.048 MB / 479.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.4209, allocations: 0.6485 MB / 480.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/0.4214, allocations: 115.9 kB / 480.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.422, allocations: 51.97 kB / 480.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007563/0.4227, allocations: 332.9 kB / 480.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001304/0.4241, allocations: 1.081 MB / 481.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.4252, allocations: 0.5966 MB / 482.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4252, allocations: 0 / 482.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002111/0.4273, allocations: 379.4 kB / 482.8 MB, free: 7.945 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.4329, allocations: 2.842 MB / 485.6 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004232/0.4372, allocations: 1.993 MB / 487.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4372, allocations: 0 / 487.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.4393, allocations: 1.057 MB / 488.7 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/0.444, allocations: 1.077 MB / 489.7 MB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/0.4847, allocations: 11.74 MB / 0.4897 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.4873, allocations: 1.324 MB / 0.491 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.02224/0.5095, allocations: 3.359 MB / 0.4943 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01482/0.5243, allocations: 1.256 MB / 0.4955 GB, free: 15.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5243, allocations: 0 / 0.4955 GB, free: 15.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/0.6642, allocations: 49.78 MB / 0.5441 GB, free: 12.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.789/10.45, allocations: 18.47 kB / 0.5441 GB, free: 12.41 MB / 462.1 MB " [Timeout remaining time 649] (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: 13.024039867974352] 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.594055800000206 10.608680901 10.260373482 Calling exit ...