Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005473/0.005473, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001588/0.001588, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 57.48 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2306, allocations: 49.16 MB / 397.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00296/0.2336, allocations: 2.366 MB / 399.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2357, allocations: 1.242 MB / 400.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2359, allocations: 8.219 kB / 400.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2361, allocations: 67.03 kB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2362, allocations: 73.58 kB / 400.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.2368, allocations: 253 kB / 401.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.2384, allocations: 2.097 MB / 403.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006607/0.2391, allocations: 0.5138 MB / 403.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.2414, allocations: 2.132 MB / 405.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.2431, allocations: 1.116 MB / 407 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005951/0.2437, allocations: 216.7 kB / 407.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.2442, allocations: 216.7 kB / 407.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000836/0.2451, allocations: 0.6436 MB / 408.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.2462, allocations: 0.7115 MB / 408.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.2496, allocations: 4.419 MB / 413.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.2496, allocations: 4 kB / 413.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2497, allocations: 0 / 413.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.294e-05/0.2497, allocations: 1.812 kB / 413.2 MB, free: 15.88 MB / 334.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.005845/0.2556, allocations: 2.268 MB / 415.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2556, allocations: 13.83 kB / 415.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.829e-05/0.2557, allocations: 33.25 kB / 415.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004612/0.2561, allocations: 206 kB / 415.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/0.2567, allocations: 176.6 kB / 415.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.2587, allocations: 1.013 MB / 416.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.2588, allocations: 96.38 kB / 417 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.2591, allocations: 122.8 kB / 417.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/0.2635, allocations: 2.315 MB / 419.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.2636, allocations: 0 / 419.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.2638, allocations: 54.38 kB / 419.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.2638, allocations: 30.81 kB / 419.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.268, allocations: 2.019 MB / 421.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008782/0.2768, allocations: 4.354 MB / 425.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.2806, allocations: 1.814 MB / 427.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.282, allocations: 0.752 MB / 428.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.2822, allocations: 13.31 kB / 428.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/0.2845, allocations: 1.377 MB / 429.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 4.048e-06/0.2845, allocations: 0 / 429.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005405/0.2899, allocations: 2.728 MB / 432.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.2899, allocations: 90.42 kB / 432.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.2915, allocations: 0.9528 MB / 433.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003194/0.2918, allocations: 93.66 kB / 433.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.2923, allocations: 478.1 kB / 434.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.2928, allocations: 317.7 kB / 434.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.294, allocations: 0.6712 MB / 435.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.2943, allocations: 402.7 kB / 435.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.296, allocations: 0.8956 MB / 436.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.2979, allocations: 1.064 MB / 437.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.3013, allocations: 1.957 MB / 439.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.3013, allocations: 4 kB / 439.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004599/0.3059, allocations: 2.428 MB / 441.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.306, allocations: 33.7 kB / 441.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.306, allocations: 4 kB / 441.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.306, allocations: 12.03 kB / 441.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.3066, allocations: 231.5 kB / 442.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.3066, allocations: 11.94 kB / 442.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/0.3074, allocations: 87.64 kB / 442.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.3086, allocations: 1.089 MB / 443.3 MB, free: 4.434 MB / 350.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.001708/0.3103, allocations: 0.9002 MB / 444.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/0.3106, allocations: 107.3 kB / 444.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.3109, allocations: 134.3 kB / 444.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3109, allocations: 12 kB / 444.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.3109, allocations: 3.938 kB / 444.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3109, allocations: 7.922 kB / 444.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.3133, allocations: 1.528 MB / 446 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.3133, allocations: 0 / 446 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.3138, allocations: 203.7 kB / 446.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/0.3138, allocations: 19.98 kB / 446.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003158/0.3142, allocations: 175.9 kB / 446.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.3142, allocations: 4 kB / 446.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3142, allocations: 3.938 kB / 446.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.3181, allocations: 2.059 MB / 448.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.3193, allocations: 0.6024 MB / 449.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/0.3198, allocations: 119.9 kB / 449.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.3203, allocations: 51.97 kB / 449.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007436/0.321, allocations: 340.8 kB / 449.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001281/0.3223, allocations: 1.085 MB / 450.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008525/0.3231, allocations: 0.5966 MB / 451.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3231, allocations: 0 / 451.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001489/0.3246, allocations: 379.4 kB / 451.6 MB, free: 12.02 MB / 366.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.004573/0.3292, allocations: 2.867 MB / 454.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.3331, allocations: 2.045 MB / 456.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3331, allocations: 0 / 456.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.335, allocations: 1.082 MB / 457.6 MB, free: 5.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/0.3388, allocations: 1.075 MB / 458.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.3586, allocations: 11.84 MB / 470.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/0.3595, allocations: 0.7159 MB / 471.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.006951/0.3665, allocations: 3.37 MB / 474.6 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003426/0.3699, allocations: 1.251 MB / 475.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3699, allocations: 0 / 475.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08593/0.4558, allocations: 52.61 MB / 0.5161 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.68, allocations: 4.062 kB / 0.5161 GB, free: 13.69 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.924963761935942] 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'] 12.850215718965046 12.866743994 12.614173645 Calling exit ...