Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 112.9 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00233/0.00233, allocations: 213.6 kB / 21.42 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 207.6 MB / 231.8 MB, free: 4.172 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 51.88 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09738, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006017/0.1034, allocations: 4.938 MB / 396.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.108, allocations: 2.207 MB / 398.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.1085, allocations: 27.75 kB / 398.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.109, allocations: 206.2 kB / 398.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.1095, allocations: 186.4 kB / 399 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1108, allocations: 0.718 MB / 399.7 MB, free: 424 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.1133, allocations: 2.072 MB / 401.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009279/0.1143, allocations: 0.5925 MB / 402.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.1173, allocations: 2.616 MB / 405 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.119, allocations: 1.117 MB / 406.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005493/0.1195, allocations: 235.9 kB / 406.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.12, allocations: 236 kB / 406.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007824/0.1207, allocations: 0.7357 MB / 407.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.1221, allocations: 1.154 MB / 408.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.1271, allocations: 5.154 MB / 413.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1271, allocations: 4 kB / 413.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1271, allocations: 0 / 413.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.151e-05/0.1272, allocations: 0 / 413.6 MB, free: 2.434 MB / 334.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.005476/0.1327, allocations: 3.179 MB / 416.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1327, allocations: 12.03 kB / 416.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003894/0.1331, allocations: 198.2 kB / 417 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005422/0.1336, allocations: 267.2 kB / 417.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.1354, allocations: 1.183 MB / 418.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.1355, allocations: 102.8 kB / 418.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/0.1359, allocations: 124.4 kB / 418.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.1396, allocations: 1.828 MB / 420.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1396, allocations: 0 / 420.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.1398, allocations: 56 kB / 420.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.1399, allocations: 28 kB / 420.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/0.143, allocations: 1.446 MB / 422 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008575/0.1516, allocations: 4.604 MB / 426.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.155, allocations: 1.331 MB / 427.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.1565, allocations: 0.5939 MB / 428.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.1567, allocations: 13 kB / 428.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002546/0.1592, allocations: 1.48 MB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=138): time 3.086e-06/0.1592, allocations: 0 / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=138): time 0.005898/0.1651, allocations: 2.791 MB / 432.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.1653, allocations: 224.9 kB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004005/0.1693, allocations: 2.303 MB / 435.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005486/0.1699, allocations: 85.69 kB / 435.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005889/0.1705, allocations: 448.8 kB / 435.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/0.1713, allocations: 337.5 kB / 436.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.1728, allocations: 0.8066 MB / 437 MB, free: 10.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1729, allocations: 337.9 kB / 437.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.1745, allocations: 0.667 MB / 438 MB, free: 9.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.1762, allocations: 0.8601 MB / 438.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003459/0.1797, allocations: 1.834 MB / 440.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.1797, allocations: 0 / 440.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00486/0.1846, allocations: 2.361 MB / 443 MB, free: 4.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.1847, allocations: 188.5 kB / 443.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.1847, allocations: 4 kB / 443.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.1848, allocations: 8 kB / 443.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.1852, allocations: 195.6 kB / 443.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.1853, allocations: 11.98 kB / 443.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.1861, allocations: 91.69 kB / 443.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/0.1872, allocations: 1.065 MB / 444.6 MB, free: 2.746 MB / 366.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.002158/0.1894, allocations: 1.274 MB / 445.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.1898, allocations: 210.7 kB / 446.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.1904, allocations: 311 kB / 446.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.1904, allocations: 12 kB / 446.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.1905, allocations: 3.984 kB / 446.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.1905, allocations: 11.95 kB / 446.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.1936, allocations: 2.122 MB / 448.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.1936, allocations: 4 kB / 448.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.194, allocations: 171.8 kB / 448.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.194, allocations: 11.94 kB / 448.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/0.1943, allocations: 183.9 kB / 448.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1943, allocations: 4 kB / 448.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1943, allocations: 0 / 448.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/0.1992, allocations: 2.401 MB / 451.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/0.202, allocations: 1.463 MB / 452.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/0.2024, allocations: 92 kB / 452.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.2031, allocations: 63.95 kB / 452.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006343/0.2037, allocations: 264.8 kB / 453.2 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001102/0.2048, allocations: 1.065 MB / 454.2 MB, free: 8.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002737/0.2075, allocations: 1.59 MB / 455.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2075, allocations: 0 / 455.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001599/0.2091, allocations: 415.4 kB / 456.2 MB, free: 6.93 MB / 382.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.005453/0.2146, allocations: 3.17 MB / 459.4 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003988/0.2186, allocations: 1.976 MB / 461.4 MB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2186, allocations: 0 / 461.4 MB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.2207, allocations: 1.182 MB / 462.6 MB, free: 424 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1732/0.3939, allocations: 1.017 MB / 463.6 MB, free: 64.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/0.4159, allocations: 13.23 MB / 476.8 MB, free: 58.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.4173, allocations: 1.593 MB / 478.4 MB, free: 57.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004439/0.4217, allocations: 2.58 MB / 481 MB, free: 56.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/0.4243, allocations: 1.131 MB / 482.1 MB, free: 55.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4243, allocations: 0 / 482.1 MB, free: 55.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07088/0.4951, allocations: 48.16 MB / 0.5178 GB, free: 9.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.698/10.19, allocations: 11.78 kB / 0.5178 GB, free: 9.461 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.01779641500616] 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.278909790999023 10.289871512 10.159722948 Calling exit ...