Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 192.5 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.243, allocations: 52.17 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005503/0.2485, allocations: 4.222 MB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.2527, allocations: 2.105 MB / 428.9 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.253, allocations: 23.81 kB / 428.9 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.2535, allocations: 206.2 kB / 429.1 MB, free: 7.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.2539, allocations: 186.4 kB / 429.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.2554, allocations: 0.7413 MB / 430 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.2576, allocations: 2.103 MB / 432.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008508/0.2585, allocations: 0.5087 MB / 432.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.2613, allocations: 2.62 MB / 435.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.2629, allocations: 1.07 MB / 436.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.2634, allocations: 235.9 kB / 436.6 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.2639, allocations: 236 kB / 436.8 MB, free: 80 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007611/0.2647, allocations: 0.7318 MB / 437.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009857/0.2656, allocations: 0.8465 MB / 438.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.271, allocations: 5.185 MB / 443.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.271, allocations: 0 / 443.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.271, allocations: 0 / 443.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.011e-05/0.2711, allocations: 8 kB / 443.6 MB, free: 9.281 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.006221/0.2773, allocations: 3.104 MB / 446.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2774, allocations: 8.031 kB / 446.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003222/0.2777, allocations: 202.2 kB / 446.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.2782, allocations: 267.2 kB / 447.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.2803, allocations: 1.105 MB / 448.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.2804, allocations: 102.8 kB / 448.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.2807, allocations: 124.4 kB / 448.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.2843, allocations: 2.012 MB / 450.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.2843, allocations: 0 / 450.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.2845, allocations: 59.97 kB / 450.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.2845, allocations: 31.94 kB / 450.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.2875, allocations: 1.611 MB / 452.2 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/0.2958, allocations: 4.106 MB / 456.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.2989, allocations: 1.489 MB / 457.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.3002, allocations: 0.7624 MB / 458.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.3004, allocations: 9 kB / 458.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002489/0.3029, allocations: 1.676 MB / 460.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of pre-optimization done (n=138): time 3.366e-06/0.3029, allocations: 0 / 460.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.005626/0.3085, allocations: 3.179 MB / 463.4 MB, free: 4.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.3087, allocations: 232.8 kB / 463.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/0.312, allocations: 2.311 MB / 465.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.3123, allocations: 77.7 kB / 466 MB, free: 2.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.3127, allocations: 456.7 kB / 466.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/0.3131, allocations: 333.6 kB / 466.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.3142, allocations: 0.7988 MB / 467.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3144, allocations: 337.9 kB / 467.9 MB, free: 324 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.3159, allocations: 0.8472 MB / 468.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.3176, allocations: 1.052 MB / 469.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.3207, allocations: 1.871 MB / 471.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3207, allocations: 0 / 471.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004463/0.3251, allocations: 2.571 MB / 474.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.3253, allocations: 195.6 kB / 474.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3253, allocations: 4 kB / 474.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.3253, allocations: 8 kB / 474.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.3258, allocations: 199.7 kB / 474.7 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.3258, allocations: 20 kB / 474.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.3266, allocations: 95.8 kB / 474.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/0.3277, allocations: 1.065 MB / 475.8 MB, free: 8.066 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.002193/0.3299, allocations: 1.286 MB / 477.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.3303, allocations: 206.7 kB / 477.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.3308, allocations: 315 kB / 477.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3308, allocations: 12 kB / 477.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3308, allocations: 0 / 477.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3308, allocations: 7.922 kB / 477.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.3334, allocations: 1.817 MB / 479.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3334, allocations: 0 / 479.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.3337, allocations: 179.7 kB / 479.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3337, allocations: 8 kB / 479.7 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/0.334, allocations: 179.9 kB / 479.8 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.334, allocations: 4 kB / 479.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.334, allocations: 0 / 479.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.3383, allocations: 2.597 MB / 482.4 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/0.3411, allocations: 1.511 MB / 483.9 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/0.3415, allocations: 92 kB / 484 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.3421, allocations: 63.97 kB / 484.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005432/0.3426, allocations: 268.7 kB / 484.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001058/0.3437, allocations: 1.061 MB / 485.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002272/0.346, allocations: 1.594 MB / 487 MB, free: 12.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.346, allocations: 3.938 kB / 487 MB, free: 12.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001369/0.3473, allocations: 411.4 kB / 487.4 MB, free: 12.28 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.005058/0.3524, allocations: 3.37 MB / 490.8 MB, free: 8.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.3563, allocations: 2.376 MB / 493.2 MB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3563, allocations: 0 / 493.2 MB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.3583, allocations: 1.382 MB / 494.5 MB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/0.3618, allocations: 1.026 MB / 495.6 MB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/0.3847, allocations: 14.2 MB / 0.4978 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.3863, allocations: 1.02 MB / 0.4988 GB, free: 4.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005092/0.3914, allocations: 2.575 MB / 0.5013 GB, free: 1.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00273/0.3941, allocations: 1.134 MB / 0.5024 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3941, allocations: 0 / 0.5024 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3086/0.7027, allocations: 51.75 MB / 0.553 GB, free: 102.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.96, allocations: 7.188 kB / 0.553 GB, free: 102.2 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_0_0_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.666907476261258] 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.07875711703673 13.088664045 12.815410539 Calling exit ...