Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder.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.001744/0.001744, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002126/0.002126, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.FullAdder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_FullAdder",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.002008/0.002008, allocations: 72.75 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2664, allocations: 53.38 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006429/0.2728, allocations: 4.937 MB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.2775, allocations: 2.206 MB / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005855/0.2781, allocations: 27.75 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.2785, allocations: 198.3 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004789/0.279, allocations: 194.4 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.2806, allocations: 0.7453 MB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.283, allocations: 2.099 MB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008947/0.2839, allocations: 0.5266 MB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.2871, allocations: 2.624 MB / 445.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.2888, allocations: 1.125 MB / 446.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004389/0.2892, allocations: 232 kB / 446.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.2896, allocations: 236 kB / 447.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.2904, allocations: 0.7434 MB / 447.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.2915, allocations: 1.158 MB / 449 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004869/0.2964, allocations: 5.163 MB / 454.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2964, allocations: 0 / 454.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2964, allocations: 0 / 454.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.371e-05/0.2965, allocations: 3.984 kB / 454.1 MB, free: 0.6094 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005545/0.302, allocations: 3.112 MB / 457.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3021, allocations: 8.031 kB / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003975/0.3025, allocations: 198.3 kB / 457.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005612/0.303, allocations: 263.3 kB / 457.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.3052, allocations: 1.109 MB / 458.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.3053, allocations: 102.8 kB / 458.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.3056, allocations: 124.4 kB / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.3092, allocations: 1.828 MB / 460.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.3092, allocations: 0 / 460.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.3095, allocations: 59.98 kB / 460.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.3095, allocations: 28 kB / 460.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.3125, allocations: 1.434 MB / 462.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008987/0.3215, allocations: 4.538 MB / 466.9 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.3248, allocations: 1.327 MB / 468.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.3261, allocations: 0.59 MB / 468.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.3263, allocations: 16.94 kB / 468.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002361/0.3286, allocations: 1.48 MB / 470.3 MB, free: 116 kB / 366.1 MB Notification: Performance of pre-optimization done (n=138): time 3.456e-06/0.3287, allocations: 0 / 470.3 MB, free: 116 kB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.00571/0.3344, allocations: 2.795 MB / 473.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.3345, allocations: 224.9 kB / 473.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/0.3384, allocations: 2.303 MB / 475.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006487/0.3391, allocations: 81.69 kB / 475.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/0.3396, allocations: 456.7 kB / 476.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007384/0.3403, allocations: 333.6 kB / 476.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.3417, allocations: 0.8027 MB / 477.3 MB, free: 9.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3418, allocations: 337.9 kB / 477.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.3433, allocations: 0.667 MB / 478.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.345, allocations: 0.86 MB / 479.2 MB, free: 7.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/0.3483, allocations: 1.833 MB / 481 MB, free: 5.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3483, allocations: 0 / 481 MB, free: 5.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004687/0.353, allocations: 2.358 MB / 483.3 MB, free: 2.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.3532, allocations: 188.5 kB / 483.5 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3532, allocations: 8.156 kB / 483.5 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/0.3532, allocations: 8 kB / 483.5 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.3537, allocations: 199.6 kB / 483.7 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.3537, allocations: 11.98 kB / 483.8 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/0.3546, allocations: 91.64 kB / 483.8 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/0.3556, allocations: 1.061 MB / 484.9 MB, free: 1.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 177 ($PRE.Adder1.Adder1.XOR.G2.y,$PRE.Adder1.Adder1.AND.G2.y,$PRE.Adder1.Adder2.XOR.G2.y,$PRE.Adder1.Adder2.AND.G2.y,$whenCondition1,Adder1.OR.auxiliary_n,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G1.auxiliary_n,$whenCondition9,$whenCondition8,$whenCondition5,$whenCondition4,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G1.auxiliary_n,$whenCondition7,$whenCondition6,c_out.x[1],$PRE.Adder1.OR.auxiliary_n,$PRE.Counter.FF1.And2.auxiliary_n,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.x[1],$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.x[1],$PRE.Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.x[2],$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.y,Counter.FF1.RS2.TD1.x,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.And2.auxiliary_n,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.x[1],$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.x[1],$PRE.Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.x[2],$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.y,Counter.FF2.RS2.TD1.x,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.And2.auxiliary_n,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.x[1],$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.x[1],$PRE.Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.x[2],$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.y,Counter.FF3.RS2.TD1.x,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],CLK.t_i,$PRE.CLK.t_i,Enable.y,Counter.FF3.Not1.auxiliary,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.y,Counter.FF3.And2.auxiliary_n,Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.x[1],Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.auxiliary[2],Counter.FF3.RS1.TD1.x,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF2.Not1.auxiliary,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.y,Counter.FF2.And2.auxiliary_n,Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.x[1],Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.auxiliary[2],Counter.FF2.RS1.TD1.x,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF1.Not1.auxiliary,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.y,Counter.FF1.And2.auxiliary_n,Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.x[1],Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.auxiliary[2],Counter.FF1.RS1.TD1.x,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.count,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.x,$PRE.Adder1.Adder1.XOR.G2.x,Adder1.Adder1.XOR.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 5 * 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.002395/0.358, allocations: 1.286 MB / 486.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006006/0.3586, allocations: 206.7 kB / 486.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009863/0.3596, allocations: 319 kB / 486.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.3596, allocations: 16 kB / 486.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.3596, allocations: 0 / 486.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.3597, allocations: 11.91 kB / 486.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.3628, allocations: 2.09 MB / 488.8 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.3628, allocations: 4 kB / 488.8 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.3632, allocations: 167.8 kB / 489 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.3633, allocations: 4 kB / 489 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003225/0.3636, allocations: 179.9 kB / 489.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.3636, allocations: 8 kB / 489.2 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3636, allocations: 3.938 kB / 489.2 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/0.368, allocations: 2.405 MB / 491.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/0.3708, allocations: 1.507 MB / 493.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/0.3713, allocations: 92 kB / 493.2 MB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.372, allocations: 59.95 kB / 493.2 MB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005676/0.3725, allocations: 272.7 kB / 493.5 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001105/0.3737, allocations: 1.065 MB / 494.6 MB, free: 7.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002885/0.3765, allocations: 1.586 MB / 496.2 MB, free: 5.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3765, allocations: 0 / 496.2 MB, free: 5.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001655/0.3782, allocations: 411.4 kB / 496.6 MB, free: 5.352 MB / 398.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: 130 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder1.AND.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.t_next,Adder1.OR.auxiliary_n,c_out.x[1],Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.And1.y,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.And1.y,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.And1.y,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,Counter.FF3.Not1.auxiliary,Enable.y,CLK.t_i) * Number of discrete states: 75 (Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And3.auxiliary_n,Counter.FF3.And2.auxiliary_n,Counter.FF3.And1.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And3.auxiliary_n,Counter.FF2.And2.auxiliary_n,Counter.FF2.And1.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And3.auxiliary_n,Counter.FF1.And2.auxiliary_n,Counter.FF1.And1.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,Adder1.OR.auxiliary_n,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,Enable.y,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,$whenCondition3,$whenCondition2,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,$whenCondition5,$whenCondition4,Adder1.Adder1.AND.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,$whenCondition7,$whenCondition6,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,$whenCondition9,$whenCondition8,Adder1.Adder2.AND.G2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 5 * 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.005212/0.3834, allocations: 3.178 MB / 499.7 MB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.3872, allocations: 1.98 MB / 0.49 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3872, allocations: 0 / 0.49 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.3894, allocations: 1.182 MB / 0.4911 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/0.393, allocations: 1.021 MB / 0.4921 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/0.4175, allocations: 13.2 MB / 0.505 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.4193, allocations: 1.599 MB / 0.5066 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005432/0.4248, allocations: 2.575 MB / 0.5091 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003133/0.4279, allocations: 1.13 MB / 0.5102 GB, free: 11.06 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4279, allocations: 0 / 0.5102 GB, free: 11.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/0.7229, allocations: 49.15 MB / 0.5582 GB, free: 90.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.927/10.65, allocations: 11.34 kB / 0.5582 GB, free: 90.43 MB / 446.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00197433 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.103900170419365] Failed to read output from testmodel.py, exit status != 0: ['time', 'Adder1.Adder1.AND.G2.x', 'Adder1.Adder1.AND.G2.y', 'Adder1.Adder1.XOR.G2.x', 'Adder1.Adder1.XOR.G2.y', 'Adder1.Adder2.AND.G2.x', 'Adder1.Adder2.AND.G2.y', 'Adder1.Adder2.XOR.G2.x', 'Adder1.Adder2.XOR.G2.y', 'Counter.FF1.RS1.TD1.x', 'Counter.FF1.RS2.TD1.x', 'Counter.FF2.RS1.TD1.x', 'Counter.FF2.RS2.TD1.x', 'Counter.FF3.RS1.TD1.x', 'Counter.FF3.RS2.TD1.x'] 10.738432950805873 10.753221311 10.45363205 Calling exit ...