Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00142/0.00142, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001389/0.001389, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 254.8 MB, free: 15.22 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+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_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1105, allocations: 53.31 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003889/0.1144, allocations: 2.621 MB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1172, allocations: 1.278 MB / 430.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1173, allocations: 7.938 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1175, allocations: 71.36 kB / 431 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1177, allocations: 79.3 kB / 431.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.1183, allocations: 231.6 kB / 431.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.1202, allocations: 2.073 MB / 433.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009474/0.1212, allocations: 0.7252 MB / 434.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.1235, allocations: 2.133 MB / 436.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.125, allocations: 1.109 MB / 437.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004465/0.1254, allocations: 216 kB / 437.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1258, allocations: 216 kB / 437.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000698/0.1265, allocations: 0.6386 MB / 438.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.1277, allocations: 0.894 MB / 439.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.1318, allocations: 4.412 MB / 443.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1318, allocations: 0 / 443.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1318, allocations: 0 / 443.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.092e-05/0.1318, allocations: 4 kB / 443.7 MB, free: 4.012 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.004311/0.1362, allocations: 2.347 MB / 446.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1362, allocations: 8.031 kB / 446.1 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.477e-05/0.1363, allocations: 38.72 kB / 446.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003863/0.1366, allocations: 198.2 kB / 446.3 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004505/0.1371, allocations: 175.9 kB / 446.5 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.1388, allocations: 1.07 MB / 447.5 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.206/0.3448, allocations: 95.77 kB / 447.6 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.3459, allocations: 127.9 kB / 447.8 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004417/0.3503, allocations: 2.281 MB / 450 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.3503, allocations: 0 / 450 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.3506, allocations: 53.56 kB / 450.1 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.3506, allocations: 30.84 kB / 450.1 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/0.3546, allocations: 1.984 MB / 452.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008535/0.3632, allocations: 4.808 MB / 456.9 MB, free: 19.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.3667, allocations: 1.79 MB / 458.7 MB, free: 19.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.3681, allocations: 0.7286 MB / 459.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.3684, allocations: 14.03 kB / 459.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002251/0.3706, allocations: 1.356 MB / 460.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.3706, allocations: 0 / 460.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005313/0.3759, allocations: 2.676 MB / 463.5 MB, free: 18.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.376, allocations: 92.2 kB / 463.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3774, allocations: 0.951 MB / 464.5 MB, free: 17.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.3776, allocations: 98.39 kB / 464.6 MB, free: 17.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.3779, allocations: 475.9 kB / 465.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.3783, allocations: 328.5 kB / 465.4 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.3793, allocations: 0.6678 MB / 466.1 MB, free: 16.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3794, allocations: 403.7 kB / 466.5 MB, free: 16.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.3809, allocations: 0.867 MB / 467.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.3825, allocations: 1.035 MB / 468.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.3857, allocations: 1.954 MB / 470.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.3857, allocations: 1.062 kB / 470.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004279/0.3899, allocations: 2.403 MB / 472.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.39, allocations: 36.95 kB / 472.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.39, allocations: 3.344 kB / 472.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.39, allocations: 13.31 kB / 472.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.3905, allocations: 234 kB / 473 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.3906, allocations: 11.75 kB / 473 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.3913, allocations: 78.14 kB / 473.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009693/0.3922, allocations: 1.088 MB / 474.2 MB, free: 13 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.001396/0.3936, allocations: 0.8966 MB / 475.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.394, allocations: 117.4 kB / 475.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.3942, allocations: 132.7 kB / 475.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.3942, allocations: 12.94 kB / 475.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/0.3942, allocations: 0 / 475.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3943, allocations: 9.031 kB / 475.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.3963, allocations: 1.76 MB / 477.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3963, allocations: 0 / 477.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.3966, allocations: 207.7 kB / 477.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3966, allocations: 7.938 kB / 477.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/0.3968, allocations: 176.8 kB / 477.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3968, allocations: 4 kB / 477.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3969, allocations: 4 kB / 477.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.3999, allocations: 2.038 MB / 479.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/0.4007, allocations: 0.6483 MB / 480.2 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/0.4011, allocations: 123.9 kB / 480.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4015, allocations: 55.84 kB / 480.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005918/0.4021, allocations: 329 kB / 480.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006997/0.4028, allocations: 1.085 MB / 481.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005661/0.4034, allocations: 0.5927 MB / 482.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4034, allocations: 0 / 482.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00118/0.4046, allocations: 388.3 kB / 482.7 MB, free: 5.371 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.003563/0.4081, allocations: 2.843 MB / 485.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.4111, allocations: 2 MB / 487.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4112, allocations: 3.938 kB / 487.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.4129, allocations: 1.05 MB / 488.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/0.4168, allocations: 1.058 MB / 489.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/0.4378, allocations: 11.75 MB / 0.4897 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.4391, allocations: 1.324 MB / 0.491 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00682/0.4459, allocations: 3.371 MB / 0.4943 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003198/0.4491, allocations: 1.243 MB / 0.4955 GB, free: 12.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4491, allocations: 0 / 0.4955 GB, free: 12.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08656/0.5357, allocations: 49.78 MB / 0.5441 GB, free: 9.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.711/10.25, allocations: 19.59 kB / 0.5441 GB, free: 9.961 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.648867039009929] 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.38548300403636 10.400414905 10.265600864 Calling exit ...