Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 230.5 MB / 254.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.8 kB / 373.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1048, allocations: 53.32 MB / 426.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003923/0.1087, allocations: 2.622 MB / 429.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1115, allocations: 1.278 MB / 430.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1117, allocations: 7.938 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.1119, allocations: 67.36 kB / 430.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1121, allocations: 71.31 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.1127, allocations: 239.6 kB / 431.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1964/0.3091, allocations: 2.064 MB / 433.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000792/0.3099, allocations: 0.7252 MB / 433.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.3119, allocations: 2.115 MB / 436.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.3131, allocations: 1.114 MB / 437.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004291/0.3135, allocations: 216.6 kB / 437.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.3139, allocations: 221 kB / 437.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000599/0.3145, allocations: 0.6358 MB / 438.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009559/0.3155, allocations: 0.8932 MB / 439.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00519/0.3207, allocations: 4.414 MB / 443.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3207, allocations: 4 kB / 443.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.3207, allocations: 0 / 443.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001047/0.3208, allocations: 2.562 kB / 443.6 MB, free: 5.461 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.006268/0.3271, allocations: 2.342 MB / 445.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3271, allocations: 13.31 kB / 445.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005397/0.3277, allocations: 202 kB / 446.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005264/0.3282, allocations: 174 kB / 446.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.3309, allocations: 1.071 MB / 447.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.331, allocations: 96.19 kB / 447.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004226/0.3314, allocations: 123 kB / 447.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004674/0.3361, allocations: 2.289 MB / 449.8 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.3361, allocations: 0 / 449.8 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.3364, allocations: 54.53 kB / 449.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.3364, allocations: 30.75 kB / 449.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.3405, allocations: 1.98 MB / 451.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.351, allocations: 4.809 MB / 456.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.355, allocations: 1.794 MB / 458.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.3567, allocations: 0.7248 MB / 459.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.357, allocations: 15.06 kB / 459.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002635/0.3596, allocations: 1.356 MB / 460.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.008e-06/0.3596, allocations: 0 / 460.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005795/0.3654, allocations: 2.67 MB / 463.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.3655, allocations: 92.17 kB / 463.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.3673, allocations: 0.9533 MB / 464.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004055/0.3677, allocations: 98.84 kB / 464.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/0.3682, allocations: 477 kB / 464.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/0.3687, allocations: 327.8 kB / 465.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.37, allocations: 0.6691 MB / 465.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003525/0.3704, allocations: 406.7 kB / 466.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.3722, allocations: 0.8666 MB / 467.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.374, allocations: 1.039 MB / 468.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.3775, allocations: 1.951 MB / 470.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.3775, allocations: 7.938 kB / 470.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004852/0.3824, allocations: 2.402 MB / 472.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.3824, allocations: 34.33 kB / 472.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3824, allocations: 4 kB / 472.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.3825, allocations: 8 kB / 472.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.383, allocations: 231.5 kB / 472.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.3831, allocations: 8 kB / 472.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/0.3838, allocations: 79.69 kB / 472.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/0.3851, allocations: 1.097 MB / 474 MB, free: 0.9727 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.001992/0.3871, allocations: 0.9015 MB / 474.9 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/0.3875, allocations: 107.4 kB / 475 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.3878, allocations: 138.3 kB / 475.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.3878, allocations: 15.98 kB / 475.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/0.3878, allocations: 0 / 475.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.3879, allocations: 7.922 kB / 475.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.3908, allocations: 1.756 MB / 476.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3908, allocations: 7.938 kB / 476.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.3914, allocations: 203.7 kB / 477.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.3914, allocations: 4 kB / 477.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/0.3917, allocations: 175.9 kB / 477.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.3917, allocations: 7.984 kB / 477.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3917, allocations: 7.938 kB / 477.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/0.3959, allocations: 2.034 MB / 479.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/0.3979, allocations: 0.6485 MB / 480 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006221/0.3985, allocations: 119.9 kB / 480.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.3991, allocations: 55.91 kB / 480.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006932/0.3998, allocations: 333 kB / 480.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001212/0.401, allocations: 1.085 MB / 481.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009963/0.402, allocations: 0.5927 MB / 482.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.402, allocations: 0 / 482.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001982/0.404, allocations: 375.4 kB / 482.5 MB, free: 8.352 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.004787/0.4088, allocations: 2.855 MB / 485.4 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.4128, allocations: 1.985 MB / 487.4 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4128, allocations: 0 / 487.4 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.4148, allocations: 1.061 MB / 488.4 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/0.4186, allocations: 1.062 MB / 489.5 MB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/0.4405, allocations: 11.75 MB / 0.4895 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.4419, allocations: 1.316 MB / 0.4908 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.01267/0.4545, allocations: 3.37 MB / 0.4941 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007202/0.4617, allocations: 1.255 MB / 0.4953 GB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4617, allocations: 0 / 0.4953 GB, free: 15.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/0.5924, allocations: 49.75 MB / 0.5439 GB, free: 12.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.255/9.848, allocations: 7.938 kB / 0.5439 GB, free: 12.97 MB / 462.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.17745697684586] 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'] 9.932398078031838 9.94638912 9.622754883 Calling exit ...