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.001856/0.001856, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.002171/0.002171, allocations: 197 kB / 21.43 MB, free: 1.609 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.414/1.414, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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.001463/0.001463, allocations: 51.92 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09667, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003797/0.1005, allocations: 2.604 MB / 421.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.1031, allocations: 1.247 MB / 422.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1033, allocations: 11.94 kB / 422.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1035, allocations: 71.36 kB / 422.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1036, allocations: 75.25 kB / 422.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.1042, allocations: 227.7 kB / 422.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.1061, allocations: 2.077 MB / 424.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000965/0.1071, allocations: 0.7291 MB / 425.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.1101, allocations: 2.125 MB / 427.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.1123, allocations: 1.113 MB / 428.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007039/0.113, allocations: 216 kB / 429 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.1136, allocations: 216 kB / 429.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.1147, allocations: 0.6424 MB / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.1164, allocations: 0.894 MB / 430.7 MB, free: 316 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005808/0.1222, allocations: 4.412 MB / 435.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1222, allocations: 0 / 435.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1222, allocations: 4 kB / 435.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.977e-05/0.1222, allocations: 0 / 435.1 MB, free: 11.88 MB / 366.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.006164/0.1284, allocations: 2.343 MB / 437.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.1284, allocations: 12.03 kB / 437.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.485e-05/0.1285, allocations: 30.72 kB / 437.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005828/0.1291, allocations: 202.2 kB / 437.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.1298, allocations: 179.9 kB / 437.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.1324, allocations: 1.078 MB / 439 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.1325, allocations: 94.91 kB / 439.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004557/0.133, allocations: 124.4 kB / 439.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006321/0.1393, allocations: 2.289 MB / 441.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.1393, allocations: 4 kB / 441.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/0.1397, allocations: 48 kB / 441.5 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.1398, allocations: 32 kB / 441.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006048/0.1458, allocations: 1.981 MB / 443.5 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2076/0.3534, allocations: 4.795 MB / 448.3 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.3567, allocations: 1.798 MB / 450.1 MB, free: 26.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.358, allocations: 0.7237 MB / 450.8 MB, free: 26.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.3582, allocations: 15.48 kB / 450.9 MB, free: 26.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/0.3603, allocations: 1.359 MB / 452.2 MB, free: 26.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.467e-06/0.3603, allocations: 1.312 kB / 452.2 MB, free: 26.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005351/0.3657, allocations: 2.667 MB / 454.9 MB, free: 25.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3657, allocations: 99.62 kB / 455 MB, free: 25.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.367, allocations: 0.9449 MB / 455.9 MB, free: 25.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.3672, allocations: 99.3 kB / 456 MB, free: 25.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.3675, allocations: 475 kB / 456.5 MB, free: 25.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.3679, allocations: 323.7 kB / 456.8 MB, free: 25.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.369, allocations: 0.6642 MB / 457.5 MB, free: 24.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3691, allocations: 412.1 kB / 457.9 MB, free: 24.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.3707, allocations: 0.864 MB / 458.7 MB, free: 24.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.3725, allocations: 1.036 MB / 459.8 MB, free: 23.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/0.3757, allocations: 1.954 MB / 461.7 MB, free: 23.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3758, allocations: 1.375 kB / 461.7 MB, free: 23.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004442/0.3802, allocations: 2.41 MB / 464.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.3802, allocations: 41.97 kB / 464.2 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.3803, allocations: 3.781 kB / 464.2 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.655e-05/0.3803, allocations: 9.75 kB / 464.2 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.3808, allocations: 225.4 kB / 464.4 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.3808, allocations: 9.734 kB / 464.4 MB, free: 22.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.3815, allocations: 83.47 kB / 464.5 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009911/0.3825, allocations: 1.086 MB / 465.6 MB, free: 22.28 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.001547/0.384, allocations: 0.9043 MB / 466.5 MB, free: 21.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.3844, allocations: 111.2 kB / 466.6 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3847, allocations: 135.4 kB / 466.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.3847, allocations: 12.56 kB / 466.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/0.3847, allocations: 0 / 466.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.3847, allocations: 7.391 kB / 466.8 MB, free: 21.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.3868, allocations: 1.764 MB / 468.5 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3868, allocations: 0 / 468.5 MB, free: 21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.3873, allocations: 210.5 kB / 468.7 MB, free: 20.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.3873, allocations: 9.094 kB / 468.7 MB, free: 20.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/0.3875, allocations: 175.4 kB / 468.9 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3875, allocations: 4 kB / 468.9 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3875, allocations: 1.5 kB / 468.9 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.3909, allocations: 2.032 MB / 470.9 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/0.3918, allocations: 0.6615 MB / 471.6 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/0.3922, allocations: 119.3 kB / 471.7 MB, free: 19.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.3926, allocations: 47.66 kB / 471.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/0.3931, allocations: 334 kB / 472.1 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006463/0.3938, allocations: 1.084 MB / 473.2 MB, free: 19.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005585/0.3944, allocations: 0.5968 MB / 473.8 MB, free: 19.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3944, allocations: 1.688 kB / 473.8 MB, free: 19.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001209/0.3956, allocations: 376.3 kB / 474.1 MB, free: 19.2 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.003489/0.3991, allocations: 2.847 MB / 477 MB, free: 16.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.4021, allocations: 1.993 MB / 479 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4021, allocations: 0 / 479 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.4035, allocations: 1.053 MB / 480 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/0.407, allocations: 1.077 MB / 481.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.4229, allocations: 11.74 MB / 492.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.4242, allocations: 1.324 MB / 494.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.007104/0.4313, allocations: 3.367 MB / 497.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003314/0.4347, allocations: 1.251 MB / 498.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4347, allocations: 0 / 498.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0897/0.5244, allocations: 49.81 MB / 0.5357 GB, free: 7.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.356/9.881, allocations: 4.062 kB / 0.5357 GB, free: 7.957 MB / 430.1 MB " [Timeout remaining time 650] (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: 12.282475714979228] 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.020801437960472 10.047101299 9.919974742 Calling exit ...