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.001766/0.001766, allocations: 119.7 kB / 19.17 MB, free: 3.898 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.002232/0.002232, allocations: 207.3 kB / 22.12 MB, free: 0.9609 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.388/1.388, allocations: 207.6 MB / 232.5 MB, free: 3.953 MB / 174.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.00187/0.00187, allocations: 51.92 kB / 343 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09318, allocations: 49.13 MB / 392.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004025/0.0972, allocations: 2.593 MB / 394.7 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.1001, allocations: 1.291 MB / 396 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.1004, allocations: 11.88 kB / 396 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1006, allocations: 71.36 kB / 396.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1008, allocations: 79.23 kB / 396.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.1015, allocations: 235.7 kB / 396.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.1035, allocations: 2.069 MB / 398.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.1046, allocations: 0.7368 MB / 399.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.1072, allocations: 2.121 MB / 401.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1089, allocations: 1.117 MB / 402.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005413/0.1094, allocations: 216 kB / 402.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.1099, allocations: 216 kB / 402.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007949/0.1107, allocations: 0.6385 MB / 403.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.112, allocations: 0.8863 MB / 404.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.1161, allocations: 4.408 MB / 408.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1161, allocations: 0 / 408.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1161, allocations: 0 / 408.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.773e-05/0.1162, allocations: 0 / 408.8 MB, free: 7.957 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.004826/0.121, allocations: 2.362 MB / 411.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.121, allocations: 8.031 kB / 411.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.277e-05/0.1211, allocations: 34.72 kB / 411.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004063/0.1215, allocations: 202.2 kB / 411.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.1219, allocations: 171.9 kB / 411.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.1238, allocations: 1.07 MB / 412.6 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1239, allocations: 98.91 kB / 412.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/0.1242, allocations: 124.4 kB / 412.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004572/0.1288, allocations: 2.293 MB / 415.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.1288, allocations: 0 / 415.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.1291, allocations: 52 kB / 415.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.1291, allocations: 28 kB / 415.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/0.1334, allocations: 1.985 MB / 417.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00967/0.1431, allocations: 4.806 MB / 422 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.147, allocations: 1.789 MB / 423.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.1486, allocations: 0.7269 MB / 424.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.1488, allocations: 17.3 kB / 424.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002287/0.1511, allocations: 1.363 MB / 425.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.537e-06/0.1511, allocations: 0 / 425.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.005741/0.1569, allocations: 2.67 MB / 428.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.1569, allocations: 94.42 kB / 428.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.1585, allocations: 0.945 MB / 429.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000294/0.1588, allocations: 101.7 kB / 429.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.1592, allocations: 474.2 kB / 430.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/0.1597, allocations: 325.6 kB / 430.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.1609, allocations: 0.6673 MB / 431.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.1612, allocations: 402.7 kB / 431.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.163, allocations: 0.8705 MB / 432.4 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.1649, allocations: 1.039 MB / 433.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003766/0.1687, allocations: 1.954 MB / 435.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.1687, allocations: 0 / 435.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005171/0.1739, allocations: 2.405 MB / 437.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/0.1739, allocations: 37.64 kB / 437.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.1739, allocations: 8.031 kB / 437.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.174, allocations: 8 kB / 437.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.1746, allocations: 231.5 kB / 438.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.1746, allocations: 15.94 kB / 438.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008026/0.1754, allocations: 79.7 kB / 438.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/0.1766, allocations: 1.093 MB / 439.3 MB, free: 9.02 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.001833/0.1784, allocations: 0.8924 MB / 440.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.1789, allocations: 107.3 kB / 440.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.1791, allocations: 134.3 kB / 440.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.1792, allocations: 15.94 kB / 440.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.1792, allocations: 3.938 kB / 440.4 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.1792, allocations: 11.95 kB / 440.5 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.1821, allocations: 1.759 MB / 442.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.1822, allocations: 0 / 442.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.1828, allocations: 203.7 kB / 442.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.1828, allocations: 4 kB / 442.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/0.1832, allocations: 179.9 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.1832, allocations: 8 kB / 442.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1832, allocations: 3.938 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/0.1878, allocations: 2.038 MB / 444.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.1892, allocations: 0.6484 MB / 445.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005677/0.1898, allocations: 119.9 kB / 445.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.1904, allocations: 47.97 kB / 445.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007431/0.1912, allocations: 332.9 kB / 445.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001164/0.1923, allocations: 1.085 MB / 446.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009479/0.1933, allocations: 0.6005 MB / 447.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 0 / 447.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001627/0.1949, allocations: 387.3 kB / 447.8 MB, free: 348 kB / 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.005084/0.2, allocations: 2.841 MB / 450.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004235/0.2042, allocations: 1.997 MB / 452.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2042, allocations: 0 / 452.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.2064, allocations: 1.053 MB / 453.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/0.2106, allocations: 1.072 MB / 454.8 MB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.183/0.3936, allocations: 11.73 MB / 466.5 MB, free: 61.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.3947, allocations: 1.315 MB / 467.9 MB, free: 60.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.006907/0.4016, allocations: 3.371 MB / 471.2 MB, free: 59.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003485/0.405, allocations: 1.248 MB / 472.5 MB, free: 58.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.405, allocations: 1.031 kB / 472.5 MB, free: 58.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/0.4675, allocations: 49.81 MB / 0.51 GB, free: 17.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.533/10, allocations: 12.83 kB / 0.5101 GB, free: 17.05 MB / 382.1 MB " [Timeout remaining time 650] (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: 12.27519840997411] 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.137959104031324 10.146860111 10.028346443 Calling exit ...