Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 189 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 51.92 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2702, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003839/0.274, allocations: 2.379 MB / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.2766, allocations: 1.189 MB / 426.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.2767, allocations: 11.88 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.2769, allocations: 67.38 kB / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2771, allocations: 79.25 kB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.2777, allocations: 243.7 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.2798, allocations: 2.1 MB / 429.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007488/0.2805, allocations: 0.509 MB / 429.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.2829, allocations: 2.133 MB / 432.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.2844, allocations: 1.121 MB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004983/0.2849, allocations: 216 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.2854, allocations: 216 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007962/0.2862, allocations: 0.6347 MB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.2872, allocations: 0.7152 MB / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.2912, allocations: 4.419 MB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2912, allocations: 4 kB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2912, allocations: 4 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.435e-05/0.2913, allocations: 3.938 kB / 439.4 MB, free: 14.29 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.004242/0.2955, allocations: 2.271 MB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2956, allocations: 8.031 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.296e-05/0.2956, allocations: 34.72 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003927/0.296, allocations: 202.2 kB / 441.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.2964, allocations: 175.9 kB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.2983, allocations: 1.02 MB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.2984, allocations: 94.91 kB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/0.2987, allocations: 120.4 kB / 443.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.3031, allocations: 2.314 MB / 445.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.3031, allocations: 4 kB / 445.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.3034, allocations: 48 kB / 445.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.3034, allocations: 32 kB / 445.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.3073, allocations: 2.01 MB / 447.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008337/0.3157, allocations: 4.358 MB / 452.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.3194, allocations: 1.811 MB / 453.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.3209, allocations: 0.7559 MB / 454.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.3211, allocations: 13.31 kB / 454.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/0.3234, allocations: 1.377 MB / 456 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.687e-06/0.3234, allocations: 0 / 456 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005402/0.3288, allocations: 2.728 MB / 458.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.3289, allocations: 98.42 kB / 458.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.3304, allocations: 0.9489 MB / 459.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.3306, allocations: 101.7 kB / 459.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/0.3311, allocations: 470.2 kB / 460.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.3316, allocations: 325.7 kB / 460.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.3327, allocations: 0.6634 MB / 461.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.3329, allocations: 406.7 kB / 461.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.3346, allocations: 0.8956 MB / 462.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.3364, allocations: 1.064 MB / 463.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/0.3398, allocations: 1.949 MB / 465.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3398, allocations: 4 kB / 465.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004522/0.3443, allocations: 2.432 MB / 468.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.3444, allocations: 33.7 kB / 468.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3444, allocations: 4 kB / 468.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.3444, allocations: 8 kB / 468.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.345, allocations: 227.6 kB / 468.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.345, allocations: 15.88 kB / 468.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.3457, allocations: 83.72 kB / 468.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/0.3469, allocations: 1.089 MB / 469.5 MB, free: 15.68 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.00165/0.3485, allocations: 0.9041 MB / 470.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/0.3489, allocations: 111.3 kB / 470.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.3491, allocations: 134.3 kB / 470.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3491, allocations: 12 kB / 470.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.3492, allocations: 3.938 kB / 470.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3492, allocations: 3.984 kB / 470.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.3516, allocations: 1.516 MB / 472.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.3516, allocations: 0 / 472.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.3521, allocations: 203.7 kB / 472.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.3521, allocations: 7.984 kB / 472.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/0.3524, allocations: 179.8 kB / 472.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.3524, allocations: 8 kB / 472.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3524, allocations: 7.938 kB / 472.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.3564, allocations: 2.059 MB / 474.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.3577, allocations: 0.6063 MB / 475.3 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004431/0.3581, allocations: 115.9 kB / 475.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.3586, allocations: 47.97 kB / 475.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/0.3593, allocations: 344.8 kB / 475.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001169/0.3605, allocations: 1.085 MB / 476.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008268/0.3613, allocations: 0.5927 MB / 477.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3613, allocations: 3.938 kB / 477.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001396/0.3627, allocations: 383.3 kB / 477.8 MB, free: 7.281 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.004693/0.3674, allocations: 2.867 MB / 480.7 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003893/0.3713, allocations: 2.048 MB / 482.7 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3713, allocations: 0 / 482.7 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.3732, allocations: 1.078 MB / 483.8 MB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/0.377, allocations: 1.078 MB / 484.9 MB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.3975, allocations: 11.86 MB / 496.7 MB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.3985, allocations: 0.7235 MB / 497.5 MB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007033/0.4056, allocations: 3.367 MB / 0.4891 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003502/0.4091, allocations: 1.251 MB / 0.4903 GB, free: 14.71 MB / 414.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4091, allocations: 0 / 0.4903 GB, free: 14.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/0.7071, allocations: 52.6 MB / 0.5417 GB, free: 112 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.32, allocations: 4.562 kB / 0.5417 GB, free: 112 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.652010809048079] 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.49206458509434 13.502424238 13.20900726 Calling exit ...