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.001418/0.001418, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.00208/0.00208, allocations: 189.9 kB / 23.72 MB, free: 4.684 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.427/1.427, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.00154/0.00154, allocations: 47.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.255, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006496/0.2615, allocations: 4.943 MB / 427.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.2661, allocations: 2.159 MB / 429.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.2667, allocations: 27.81 kB / 429.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.2672, allocations: 206.2 kB / 430 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.2677, allocations: 190.3 kB / 430.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.2695, allocations: 0.7413 MB / 430.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002548/0.272, allocations: 2.111 MB / 433 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008521/0.2729, allocations: 0.5344 MB / 433.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.2761, allocations: 2.62 MB / 436.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.2781, allocations: 1.113 MB / 437.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.2786, allocations: 232 kB / 437.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.279, allocations: 236 kB / 437.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007983/0.2798, allocations: 0.7473 MB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.2813, allocations: 1.154 MB / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005704/0.287, allocations: 5.162 MB / 444.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.846e-05/0.287, allocations: 3.984 kB / 444.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.287, allocations: 0 / 444.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.978e-05/0.2871, allocations: 4 kB / 444.8 MB, free: 8.34 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.005493/0.2926, allocations: 3.108 MB / 447.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2926, allocations: 8.031 kB / 447.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000331/0.293, allocations: 194.3 kB / 448.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.2934, allocations: 271.2 kB / 448.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.2953, allocations: 1.101 MB / 449.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.2954, allocations: 102.8 kB / 449.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.2957, allocations: 120.4 kB / 449.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.2992, allocations: 1.836 MB / 451.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.2992, allocations: 0 / 451.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.2994, allocations: 59.97 kB / 451.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.2994, allocations: 31.94 kB / 451.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.3023, allocations: 1.438 MB / 453 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008719/0.3111, allocations: 4.542 MB / 457.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.314, allocations: 1.309 MB / 458.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.3153, allocations: 0.59 MB / 459.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3156, allocations: 20.98 kB / 459.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002308/0.3179, allocations: 1.476 MB / 461 MB, free: 7.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=138): time 5.1e-06/0.3179, allocations: 4 kB / 461 MB, free: 7.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.005423/0.3233, allocations: 2.799 MB / 463.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.3234, allocations: 220.9 kB / 464 MB, free: 4.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/0.3271, allocations: 2.311 MB / 466.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.3275, allocations: 85.69 kB / 466.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.3279, allocations: 456.7 kB / 466.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/0.3284, allocations: 329.7 kB / 467.2 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.3295, allocations: 0.8027 MB / 468 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3297, allocations: 341.9 kB / 468.3 MB, free: 436 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.3312, allocations: 0.6592 MB / 469 MB, free: 15.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.3327, allocations: 0.8679 MB / 469.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.3359, allocations: 1.825 MB / 471.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3359, allocations: 7.984 kB / 471.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004544/0.3404, allocations: 2.352 MB / 474 MB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.3407, allocations: 180.5 kB / 474.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3407, allocations: 7.938 kB / 474.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.3407, allocations: 8.062 kB / 474.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.3412, allocations: 203.6 kB / 474.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.3412, allocations: 15.92 kB / 474.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/0.342, allocations: 95.64 kB / 474.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/0.3432, allocations: 1.061 MB / 475.6 MB, free: 8.914 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.002313/0.3455, allocations: 1.278 MB / 476.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/0.3459, allocations: 210.7 kB / 477.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/0.3465, allocations: 319 kB / 477.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.3465, allocations: 12 kB / 477.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.3465, allocations: 0 / 477.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.3466, allocations: 11.91 kB / 477.4 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.3495, allocations: 2.09 MB / 479.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3495, allocations: 0 / 479.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.3499, allocations: 171.7 kB / 479.6 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.3499, allocations: 4 kB / 479.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.3502, allocations: 187.9 kB / 479.8 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.3502, allocations: 8 kB / 479.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3502, allocations: 3.984 kB / 479.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.3548, allocations: 2.397 MB / 482.2 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003051/0.3579, allocations: 1.507 MB / 483.8 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000499/0.3584, allocations: 92 kB / 483.8 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.359, allocations: 63.95 kB / 483.9 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000604/0.3596, allocations: 272.7 kB / 484.2 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001099/0.3607, allocations: 1.057 MB / 485.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00257/0.3633, allocations: 1.59 MB / 486.8 MB, free: 13.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3633, allocations: 3.938 kB / 486.8 MB, free: 13.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00151/0.3648, allocations: 415.4 kB / 487.2 MB, free: 13.08 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.005076/0.3698, allocations: 3.174 MB / 490.4 MB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003719/0.3736, allocations: 1.973 MB / 492.4 MB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3736, allocations: 0 / 492.4 MB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.3755, allocations: 1.182 MB / 493.6 MB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/0.3791, allocations: 1.036 MB / 494.6 MB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/0.4019, allocations: 13.2 MB / 0.4959 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/0.4039, allocations: 1.599 MB / 0.4974 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005565/0.4094, allocations: 2.571 MB / 0.5 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/0.4124, allocations: 1.134 MB / 0.5011 GB, free: 2.793 MB / 414.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4124, allocations: 4 kB / 0.5011 GB, free: 2.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.293/0.7054, allocations: 49.22 MB / 0.5491 GB, free: 105.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.24, allocations: 8.062 kB / 0.5491 GB, free: 105.5 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.862061269999685] 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.358433489000163 13.37080141 13.080309438 Calling exit ...