Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001276/0.001276, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001987/0.001987, allocations: 214.9 kB / 24.52 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 59.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.256, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005546/0.2615, allocations: 4.216 MB / 436.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004415/0.2659, allocations: 2.14 MB / 438.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.2663, allocations: 27.75 kB / 438.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.2668, allocations: 206.2 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.2673, allocations: 182.5 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.2688, allocations: 0.7453 MB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.271, allocations: 2.099 MB / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008373/0.2719, allocations: 0.5403 MB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.2749, allocations: 2.62 MB / 444.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.2766, allocations: 1.125 MB / 445.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006206/0.2772, allocations: 232 kB / 446 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005371/0.2777, allocations: 236 kB / 446.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009112/0.2787, allocations: 0.7356 MB / 447 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.28, allocations: 0.8504 MB / 447.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005688/0.2856, allocations: 5.185 MB / 453 MB, free: 1.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.2857, allocations: 4 kB / 453 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2857, allocations: 3.938 kB / 453 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.877e-05/0.2858, allocations: 4 kB / 453 MB, free: 1.23 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.005192/0.2909, allocations: 3.111 MB / 456.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.291, allocations: 15.97 kB / 456.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.011e-05/0.291, allocations: 30.58 kB / 456.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000347/0.2914, allocations: 194.3 kB / 456.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.2919, allocations: 271.2 kB / 456.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.2936, allocations: 1.109 MB / 457.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.2937, allocations: 102.8 kB / 457.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.2941, allocations: 126.1 kB / 458 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.2977, allocations: 1.996 MB / 460 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.2977, allocations: 0 / 460 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.2979, allocations: 59.98 kB / 460 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.298, allocations: 28 kB / 460.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.3011, allocations: 1.619 MB / 461.7 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007741/0.3088, allocations: 4.094 MB / 465.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.312, allocations: 1.503 MB / 467.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.3135, allocations: 0.7663 MB / 468 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.3137, allocations: 17 kB / 468.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002569/0.3162, allocations: 1.672 MB / 469.7 MB, free: 92 kB / 366.1 MB Notification: Performance of pre-optimization done (n=138): time 3.697e-06/0.3162, allocations: 0 / 469.7 MB, free: 92 kB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.005995/0.3222, allocations: 3.171 MB / 472.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/0.3224, allocations: 232.9 kB / 473.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/0.327, allocations: 2.299 MB / 475.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003552/0.3274, allocations: 81.7 kB / 475.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005909/0.3279, allocations: 456.7 kB / 476 MB, free: 9.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/0.3285, allocations: 329.6 kB / 476.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/0.3298, allocations: 0.8027 MB / 477.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.33, allocations: 341.9 kB / 477.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.3316, allocations: 0.8472 MB / 478.3 MB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.3333, allocations: 1.036 MB / 479.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.3366, allocations: 1.876 MB / 481.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.3366, allocations: 3.938 kB / 481.2 MB, free: 4.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004761/0.3413, allocations: 2.586 MB / 483.8 MB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.3415, allocations: 192.5 kB / 483.9 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3415, allocations: 4 kB / 484 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.3415, allocations: 8.156 kB / 484 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.342, allocations: 203.6 kB / 484.2 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.342, allocations: 11.98 kB / 484.2 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009407/0.343, allocations: 87.7 kB / 484.3 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/0.3442, allocations: 1.065 MB / 485.3 MB, free: 15.98 MB / 398.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.002718/0.3469, allocations: 1.295 MB / 486.6 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/0.3475, allocations: 206.7 kB / 486.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/0.3482, allocations: 319 kB / 487.1 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.3483, allocations: 12 kB / 487.1 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.3483, allocations: 0 / 487.1 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.3483, allocations: 3.984 kB / 487.1 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.3513, allocations: 1.821 MB / 489 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3513, allocations: 0 / 489 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.3517, allocations: 175.7 kB / 489.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.3517, allocations: 4 kB / 489.1 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003203/0.352, allocations: 187.8 kB / 489.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.352, allocations: 4 kB / 489.3 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.352, allocations: 0 / 489.3 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/0.3571, allocations: 2.593 MB / 491.9 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003348/0.3604, allocations: 1.511 MB / 493.4 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006017/0.361, allocations: 88 kB / 493.5 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.3617, allocations: 55.97 kB / 493.6 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/0.3623, allocations: 272.7 kB / 493.8 MB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001219/0.3635, allocations: 1.061 MB / 494.9 MB, free: 6.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003129/0.3667, allocations: 1.59 MB / 496.5 MB, free: 4.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3667, allocations: 0 / 496.5 MB, free: 4.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002207/0.3689, allocations: 419.4 kB / 496.9 MB, free: 4.203 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.006008/0.3749, allocations: 3.369 MB / 0.4885 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004336/0.3792, allocations: 2.38 MB / 0.4909 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3792, allocations: 0 / 0.4909 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.3816, allocations: 1.382 MB / 0.4922 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/0.3858, allocations: 1.035 MB / 0.4932 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0264/0.4122, allocations: 14.2 MB / 0.5071 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.4138, allocations: 1.024 MB / 0.5081 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005478/0.4192, allocations: 2.579 MB / 0.5106 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/0.4222, allocations: 1.134 MB / 0.5117 GB, free: 8.387 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4222, allocations: 0 / 0.5117 GB, free: 8.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3073/0.7295, allocations: 51.36 MB / 0.5619 GB, free: 87.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.46, allocations: 9.438 kB / 0.5619 GB, free: 87.25 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder_fmu --startTime=0 --stopTime=10 --stepSize=0.00197433 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.987257043016143] 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'] 13.640211415011436 13.656684011 13.367310484 Calling exit ...